Updated code for -t flage. Does the same thing just better implemented.
This commit is contained in:
parent
f0e421ab33
commit
18a6930c7c
@ -1264,8 +1264,9 @@ while getopts "${args}" i ; do
|
||||
r) game_removal;;
|
||||
S) defaultRate="${OPTARG}";;
|
||||
t)
|
||||
dialog --backtitle "Audiogame Manager" \
|
||||
--infobox "There are currently $(ls -1 "${0%/*}/.install" | wc -l) games available." -1 -1
|
||||
gameCount=$(find .install -type f -iname "*.sh" | wc -l)
|
||||
dialog --backtitle "Linux Game Manager" \
|
||||
--infobox "There are currently ${gameCount} games available." -1 -1
|
||||
exit 0
|
||||
;;
|
||||
v) voiceName="${OPTARG}";;
|
||||
|
Loading…
Reference in New Issue
Block a user