From dea5c874f76a9e11ba6ae3a8bb8d2e98eb1b2011 Mon Sep 17 00:00:00 2001 From: Joshua Shannon Date: Fri, 2 Jul 2021 19:09:51 -0500 Subject: [PATCH] Updated update.sh --- update.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/update.sh b/update.sh index d2b5c3e6..27d1542a 100755 --- a/update.sh +++ b/update.sh @@ -2,12 +2,14 @@ BASEDIR=$(dirname "$0") cd "$BASEDIR" || exit 1 -git pull +git pull || (echo "Failed to pull!"; exit 1) +program/download_solarthing.sh || exit 1 +program/graphql_download_solarthing.sh || exit 1 + FULLDIR=$(pwd) if [ "$FULLDIR" = "/opt/solarthing" ]; then - other/linux/update_perms.sh continue + echo + other/linux/update_perms.sh continue || (echo "The above output may look scary, but you need to run this using sudo to update permissions"; exit 1) else echo Not updating perms because installed in non-standard location fi -program/download_solarthing.sh -program/graphql_download_solarthing.sh