Update gen-config.sh
This commit is contained in:
parent
79cb340599
commit
149353e738
1 changed files with 7 additions and 0 deletions
|
|
@ -29,6 +29,13 @@ cat > config.json << EOF
|
|||
}
|
||||
EOF
|
||||
|
||||
if [ ! -d "temp" ]; then
|
||||
mkdir temp
|
||||
fi
|
||||
if [ ! -d "temp/auth" ]; then
|
||||
mkdir temp/auth
|
||||
fi
|
||||
|
||||
# If doesn't have temp/cookies.json, create it
|
||||
if [ ! -f "./temp/auth/cookies.json" ]; then
|
||||
mkdir temp/auth
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue