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

Merge pull request #56 from KonaeSan/master

I added an array so that you can download several profiles in one time..
This commit is contained in:
Mayccoll 2017-05-18 10:14:57 -05:00 committed by GitHub
commit 8d77b81733

View File

@ -46,10 +46,14 @@ Themes:
(\\e[0m\e[0;34m 39 \\e[0m\e[0m) ura
(\\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 -n 'Enter OPTION : '
read NUM
case $NUM in
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 : '
#read NUM
read -p 'Enter OPTION(S) : ' -a array
for i in "${array[@]}"
do
case $i in
0) echo '0 is not in OPTION' ;;
1 | 01) echo 'Theme: aci'
@ -174,3 +178,4 @@ case $NUM in
*) echo 'INVALID OPTION!' ;;
esac
done