mirror of
https://github.com/arkenfox/user.js.git
synced 2025-05-08 01:43:51 +02:00
support case-insens parameters
This commit is contained in:
parent
685156d8e3
commit
88a87ff253
1 changed files with 2 additions and 2 deletions
|
@ -94,7 +94,7 @@ main () {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if [ $update_pref = "-donotupdate" ]; then
|
if [ "$(echo $update_pref | tr '[A-Z]' '[a-z]')" = "-donotupdate" ]; then
|
||||||
main
|
main
|
||||||
else
|
else
|
||||||
check_for_update
|
check_for_update
|
||||||
|
@ -102,7 +102,7 @@ else
|
||||||
main
|
main
|
||||||
else
|
else
|
||||||
## there is an update available
|
## 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 without asking
|
||||||
update_script
|
update_script
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Reference in a new issue