From 8ed7bda376671917a26f50e9227e8c7abcd139ef Mon Sep 17 00:00:00 2001 From: Michael Stanclift Date: Sun, 24 May 2020 20:29:32 -0500 Subject: [PATCH] Escape characters? --- gravity-sync.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gravity-sync.sh b/gravity-sync.sh index 6cac9e1..caab71e 100755 --- a/gravity-sync.sh +++ b/gravity-sync.sh @@ -86,7 +86,7 @@ function update_gs { # Developer Build Update function beta_gs { - TASKTYPE='UPDATE' + TASKTYPE='BETA' logs_export # dumps log prior to execution because script stops after successful pull MESSAGE="Requires GitHub Installation" @@ -312,7 +312,7 @@ function show_version { # Look for Changes function md5_compare { - primaryMD5=$(ssh ${REMOTE_USER}@${REMOTE_HOST} 'md5sum ${PIHOLE_DIR}/${GRAVITY_FI}') + primaryMD5=$(ssh ${REMOTE_USER}@${REMOTE_HOST} \'md5sum ${PIHOLE_DIR}/${GRAVITY_FI}\') secondMD5=$(md5sum ${PIHOLE_DIR}/${GRAVITY_FI}) if [ "$primaryMD5" == "$secondMD5" ] @@ -375,14 +375,14 @@ case $# in ;; update) - TASKTYPE='UPDATE' + # TASKTYPE='UPDATE' echo -e "[${GREEN}GOOD${NC}] Update Requested" update_gs exit_nochange ;; beta) - TASKTYPE='BETA' + # TASKTYPE='BETA' echo -e "[${GREEN}GOOD${NC}] Beta Update Requested" beta_gs exit_nochange