This commit is contained in:
Heavybullets8 2022-07-25 21:55:46 -06:00
parent 00e765a14d
commit eec9afa5df

View File

@ -19,7 +19,7 @@ source functions/update_apps.sh
# Parse script options # Parse script options
while getopts ":si:rb:t:uUpSRv-:" opt while getopts ":sii:rb:t:uUpSRv-:" opt
do do
case $opt in case $opt in
-) -)
@ -67,7 +67,7 @@ do
;; ;;
i) i)
ignore+=("$OPTARG") ignore+=("$OPTARG")
[[ -z "$ignore" ]] && echo "\"-i\" requires an argument" && exit [[ -z "$OPTARG" ]] && echo "\"-i\" requires an argument" && exit
;; ;;
t) t)
re='^[0-9]+$' re='^[0-9]+$'