Fixed the -t flag which was broken by the removal of the gameList variable.
This commit is contained in:
parent
97665e0b22
commit
8ef2532521
@ -1233,7 +1233,7 @@ while getopts "${args}" i ; do
|
||||
S) defaultRate="${OPTARG}";;
|
||||
t)
|
||||
dialog --backtitle "Audiogame Manager" \
|
||||
--infobox "There are currently ${#gameList[@]} games available." -1 -1
|
||||
--infobox "There are currently $(ls -1 "${0%/*}/.install" | wc -l) games available." -1 -1
|
||||
exit 0
|
||||
;;
|
||||
v) voiceName="${OPTARG}";;
|
||||
|
Loading…
Reference in New Issue
Block a user