diff --git a/misc/node-red-themes.sh b/misc/node-red-themes.sh index 8217f0bd..5f8738b1 100644 --- a/misc/node-red-themes.sh +++ b/misc/node-red-themes.sh @@ -41,11 +41,8 @@ option_picked(){ clear show_menu -while [ $opt != '' ] +while [ "$opt" != " " ] do - if [ $opt = '' ]; then - exit; - else case $opt in 1) clear; option_picked "Installing Default Theme"; @@ -93,7 +90,6 @@ while [ $opt != '' ] show_menu; ;; esac - fi done echo -en "${GN} Installing ${THEME} Theme... " cd /root/.node-red