diff --git a/bash/init.sh b/bash/init.sh index 569b553..8d20631 100755 --- a/bash/init.sh +++ b/bash/init.sh @@ -98,7 +98,7 @@ function CheckPrerequisites() { # Update The ADS-B Receiver Project Git repository. function UpdateRepository() { # Update lcoal branches which are set to track remote. - git remote update 2>&1 + ACTION=$(git remote update 2>&1) # Check if local branch is behind remote. if [[ "$RECEIVER_AUTOMATED_INSTALL" = "false" ]] && [[ `git status | grep -c "untracked files present"` -gt 0 ]] ; then # Local branch has untracked files. diff --git a/bash/tools/portal_backup.sh b/bash/tools/portal_backup.sh index 1f3ff83..663f277 100644 --- a/bash/tools/portal_backup.sh +++ b/bash/tools/portal_backup.sh @@ -45,7 +45,7 @@ LIGHTTPDDOCUMENTROOT=`sed 's/.*"\(.*\)"[^"]*$/\1/' <<< $RAWDOCUMENTROOT` ## BEGIN THE BACKUP PROCESS clear -echo -e "\n\e[91m ADSB Reciever Project Maintenance" +echo -e "\n\e[91m ADSB Receiver Project Maintenance" echo "" echo -e "\e[92m Backing up portal data..." echo -e "\e[93m----------------------------------------------------------------------------------------------------\e[97m"