diff --git a/make.sh b/make.sh index db6dd56..4b94703 100755 --- a/make.sh +++ b/make.sh @@ -7,11 +7,11 @@ init () { mkdir -p "$INSTANCE_PATH/partitions" mkdir -p "$INSTANCE_PATH/attachments" mkdir -p "$INSTANCE_PATH/search-partitions" - mkdir -p "partitioncloud/static/thumbnails" - mkdir -p "partitioncloud/static/search-thumbnails" + mkdir -p "$INSTANCE_PATH/cache/thumbnails" + mkdir -p "$INSTANCE_PATH/cache/search-thumbnails" if ! test -f "$INSTANCE_PATH/config.py"; then - echo "SECRET_KEY=$(python3 -c 'import secrets; print(secrets.token_hex())')" > "$INSTANCE_PATH/config.py" + echo "SECRET_KEY=\"$(python3 -c 'import secrets; print(secrets.token_hex())')\"" > "$INSTANCE_PATH/config.py" fi if test -f "$INSTANCE_PATH/partitioncloud.sqlite"; then