mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-20 07:41:48 +02:00
Update run.sh
This commit is contained in:
@@ -17,7 +17,7 @@ fi
|
|||||||
|
|
||||||
chown -R wger "$LOCATION"
|
chown -R wger "$LOCATION"
|
||||||
chmod -R 777 "$LOCATION"
|
chmod -R 777 "$LOCATION"
|
||||||
rm /home/wger/db/database.sqlite &>/dev/null || true
|
rm /home/wger/db/database.sqlite || true
|
||||||
ln -s "$LOCATION"/database.sqlite /home/wger/db
|
ln -s "$LOCATION"/database.sqlite /home/wger/db
|
||||||
|
|
||||||
python3 manage.py migrate || true
|
python3 manage.py migrate || true
|
||||||
|
|||||||
Reference in New Issue
Block a user