Fix config check in wrapper

.gitkeep was making the wrapper think config was present on fresh boot..
Whoops!
This commit is contained in:
Zedifus 2022-03-02 13:28:36 +00:00
parent e711856cc9
commit 7be5cfa449

View File

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
# Check if config exists from existing installation (venv or previous docker launch) # Check if config exists from existing installation (venv or previous docker launch)
if [ ! "$(ls -A ./app/config)" ]; then if [ ! "$(ls -A --ignore=.gitkeep ./app/config)" ]; then
mkdir ./app/config/ mkdir ./app/config/
cp -r ./app/config_original/* ./app/config/ cp -r ./app/config_original/* ./app/config/
fi fi