1
0
mirror of https://github.com/Mayccoll/Gogh.git synced 2023-08-10 21:12:46 +03:00

Would be nice if one could download several profiles at once.

I added an array to receive the options in case someone would like to download several pofils at a time.
This commit is contained in:
Elisée Othniel AMEGASSI 2017-01-19 17:16:22 +00:00
parent 61c44f00b5
commit 3b775c7023

View File

@ -46,10 +46,14 @@ Themes:
(\\e[0m\e[0;34m 39 \\e[0m\e[0m) ura (\\e[0m\e[0;34m 39 \\e[0m\e[0m) ura
(\\e[0m\e[0;34m 40 \\e[0m\e[0m) vag (\\e[0m\e[0;34m 40 \\e[0m\e[0m) vag
" "
echo -e "Usage : Enter Theme Number (\\e[0m\e[0;34mOPTION\\e[0m\e[0m)" echo -e "Usage : Enter Desired Themes Numbers (\\e[0m\e[0;34mOPTIONS\\e[0m\e[0m) Separated By A Blank Space"
echo -n 'Enter OPTION : ' #echo -n 'Enter OPTION : '
read NUM #read NUM
case $NUM in read -p 'Enter OPTION(S) : ' -a array
for i in "${array[@]}"
do
case $i in
0) echo '0 is not in OPTION' ;; 0) echo '0 is not in OPTION' ;;
1 | 01) echo 'Theme: aci' 1 | 01) echo 'Theme: aci'
@ -174,3 +178,4 @@ case $NUM in
*) echo 'INVALID OPTION!' ;; *) echo 'INVALID OPTION!' ;;
esac esac
done