From 88a87ff253c0ae766b96e6ec6b4f413587a3ab42 Mon Sep 17 00:00:00 2001 From: overdodactyl <pjohns33@protonmail.com> Date: Sun, 22 Apr 2018 14:27:00 -0600 Subject: [PATCH] support case-insens parameters --- updater.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/updater.sh b/updater.sh index 4d39b94..ebdc4e2 100755 --- a/updater.sh +++ b/updater.sh @@ -94,7 +94,7 @@ main () { } -if [ $update_pref = "-donotupdate" ]; then +if [ "$(echo $update_pref | tr '[A-Z]' '[a-z]')" = "-donotupdate" ]; then main else check_for_update @@ -102,7 +102,7 @@ else main else ## there is an update available - if [ $update_pref = "-update" ]; then + if [ "$(echo $update_pref | tr '[A-Z]' '[a-z]')" = "-update" ]; then ## update without asking update_script else