support case-insens parameters

This commit is contained in:
overdodactyl 2018-04-22 14:27:00 -06:00
parent 685156d8e3
commit 88a87ff253

View file

@ -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