mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Fix config check in wrapper
.gitkeep was making the wrapper think config was present on fresh boot.. Whoops!
This commit is contained in:
parent
e711856cc9
commit
7be5cfa449
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user