Bläddra i källkod

wip package installer

* bug fix in location directory ('/home/' not '/hom/')
* took out update break debuggin in 'update_loop.sh'
Abram Connelly 6 år sedan
förälder
incheckning
b8c537009f

+ 1 - 1
busunit/scripts/apply_update_legacy.sh

@@ -29,7 +29,7 @@ file_version="$5"
 # Confirm we have a checksum that differs from our existing checksum
 #
 if [[ -f /home/bus/config/$update_file.checksum ]] ; then
-  existing_checksum=`cat /hom/bus/config/$update_file.checksum`
+  existing_checksum=`cat /home/bus/config/$update_file.checksum`
   if [[ "$update_checksum" == "$existing_checksum" ]] ; then
     echo "We already HAVE an update $update_file with checksum $update_checksum, aborting install"
     exit 1

+ 1 - 1
busunit/scripts/apply_update_popufare.sh

@@ -29,7 +29,7 @@ file_version="$5"
 # Confirm we have a checksum that differs from our existing checksum
 #
 if [[ -f /home/bus/config/$update_file.checksum ]] ; then
-  existing_checksum=`cat /hom/bus/config/$update_file.checksum`
+  existing_checksum=`cat /home/bus/config/$update_file.checksum`
   if [[ "$update_checksum" == "$existing_checksum" ]] ; then
     echo "We already HAVE an update $update_file with checksum $update_checksum, aborting install"
     exit 1

+ 0 - 4
busunit/scripts/update_loop.sh

@@ -121,10 +121,6 @@ while true; do
     (
       while read client_file checksum file_size server_path file_version; do
 
-        ## DEBUG
-        echo "# UPDATES DISABLED TEMPORARILY"
-        break;
-
         # If we've been asked to abort this update, do so before we start downloading if possible
         #
         if [ -f $UPDATE_ABORT_DROPFILE ]; then