fix: menu action for removing mainsail theme was missing

This commit is contained in:
th33xitus
2021-07-01 21:38:14 +02:00
committed by GitHub
parent 5deb987b8a
commit 765f016ea2

View File

@@ -47,6 +47,9 @@ ms_theme_menu(){
read -p "${cyan}Install theme:${default} " a; echo read -p "${cyan}Install theme:${default} " a; echo
if [ $a = "q" ] || [ $a = "Q" ]; then if [ $a = "q" ] || [ $a = "Q" ]; then
clear && advanced_menu && break clear && advanced_menu && break
elif [ $a = "r" ] || [ $a = "R" ]; then
ms_theme_delete
ms_theme_menu
elif [ $a -le ${#t_url[@]} ]; then elif [ $a -le ${#t_url[@]} ]; then
ms_theme_install "${t_auth[$a]}" "${t_url[$a]}" "${t_name[$a]}" "${t_note[$a]}" ms_theme_install "${t_auth[$a]}" "${t_url[$a]}" "${t_name[$a]}" "${t_note[$a]}"
ms_theme_menu ms_theme_menu
@@ -114,4 +117,4 @@ ms_theme_delete(){
else else
status_msg "No Theme installed!\n" status_msg "No Theme installed!\n"
fi fi
} }