From 765f016ea2d5600ba710593967f9513d032d1cf4 Mon Sep 17 00:00:00 2001 From: th33xitus Date: Thu, 1 Jul 2021 21:38:14 +0200 Subject: [PATCH] fix: menu action for removing mainsail theme was missing --- scripts/ms_theme_installer.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/ms_theme_installer.sh b/scripts/ms_theme_installer.sh index bb08312..568931d 100755 --- a/scripts/ms_theme_installer.sh +++ b/scripts/ms_theme_installer.sh @@ -47,6 +47,9 @@ ms_theme_menu(){ read -p "${cyan}Install theme:${default} " a; echo if [ $a = "q" ] || [ $a = "Q" ]; then clear && advanced_menu && break + elif [ $a = "r" ] || [ $a = "R" ]; then + ms_theme_delete + ms_theme_menu elif [ $a -le ${#t_url[@]} ]; then ms_theme_install "${t_auth[$a]}" "${t_url[$a]}" "${t_name[$a]}" "${t_note[$a]}" ms_theme_menu @@ -114,4 +117,4 @@ ms_theme_delete(){ else status_msg "No Theme installed!\n" fi -} \ No newline at end of file +}