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:
parent
23bb556249
commit
0e83d45878
1
gogh.sh
1
gogh.sh
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user