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

Remove exit call inside first if condition block

* Presence of this call cannot facilitate installation of
  multiple themes in one instance of the script
  - `exit' call directly exits the iteration (and the script too)

Signed-off-by: Arvindraj <arvindultimate7352@gmail.com>
This commit is contained in:
Arvindraj 2017-08-14 20:44:19 +05:30
parent 23bb556249
commit 0e83d45878
No known key found for this signature in database
GPG Key ID: E7D47D321E26DDBA

View File

@ -221,7 +221,6 @@ for OP in "${OPTION[@]}"; do
echo "Theme: ${FILENAME_SPACE^}" echo "Theme: ${FILENAME_SPACE^}"
SET_THEME="${THEMES[((OP-1))]}" SET_THEME="${THEMES[((OP-1))]}"
set_gogh "${SET_THEME}" set_gogh "${SET_THEME}"
exit 1
else else
echo -e "\\e[0m\e[0;31m ~ INVALID OPTION! ~\\e[0m\e[0m" echo -e "\\e[0m\e[0;31m ~ INVALID OPTION! ~\\e[0m\e[0m"
exit 1 exit 1