test
This commit is contained in:
parent
00e765a14d
commit
eec9afa5df
@ -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]+$'
|
||||||
|
Loading…
Reference in New Issue
Block a user