Update run.sh
authormarcelveldt <marcelvanderveldt@MacBook-Silvia.local>
Sat, 12 Oct 2019 00:55:58 +0000 (02:55 +0200)
committermarcelveldt <marcelvanderveldt@MacBook-Silvia.local>
Sat, 12 Oct 2019 00:55:58 +0000 (02:55 +0200)
run.sh

diff --git a/run.sh b/run.sh
index f1e0698a58f850e37724f8bb96d82f3e0eb78730..309574a8cb7422f5144fc86d6b602b9af8c597f2 100755 (executable)
--- a/run.sh
+++ b/run.sh
@@ -1,8 +1,6 @@
 #!/bin/sh
 set -e
 
-SET autoupdate = 'true'
-
 # auto update to latest git version if update environmental variable is set
 if [ "$autoupdate" == "true" ]; then
     echo "Auto updating to latest (unstable) git version!"
@@ -11,6 +9,7 @@ if [ "$autoupdate" == "true" ]; then
     unzip -q master.zip
     cp -rf musicassistant-master/. /usr/src/app
     rm -R /tmp/musicassistant-master
+    rm /usr/src/app/database.py
 fi
 
 # run program