From 0237617ba2bf9e31ef7ab9296e767e62a1496647 Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Wed, 20 Jul 2022 05:56:59 -0600 Subject: [PATCH] var name --- heavy_script.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/heavy_script.sh b/heavy_script.sh index f04acab5..042d0d0c 100644 --- a/heavy_script.sh +++ b/heavy_script.sh @@ -28,7 +28,7 @@ if [[ -n $(git diff --name-only origin/beta | grep $SCRIPTNAME) ]]; then # Now exit this old instance exit -elif [[ $self_update == "true" ]]; then +elif [[ $self_updated == "true" ]]; then echo -e "HeavyScript has been updated\n" else echo -e "HeavyScript is already the latest version\n" @@ -393,7 +393,7 @@ do deleteBackup="true" ;; updated) - self_update="true" + self_updated="true" ;; *) echo -e "Invalid Option \"--$OPTARG\"\n" && help