diff options
author | szaimen <szaimen@e.mail.de> | 2020-09-04 21:07:58 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-04 21:07:58 +0300 |
commit | 2cc0f8a17a656ac3b2713d336fbaefd3a88d8609 (patch) | |
tree | cca39594413b84f80626721a11393bb8b782b97f /apps/adminer.sh | |
parent | ecf21910296c17a8670add66504403868fcf3059 (diff) |
change all whiptail-radiolists to whiptail-menus (#1408)
Diffstat (limited to 'apps/adminer.sh')
-rw-r--r-- | apps/adminer.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/adminer.sh b/apps/adminer.sh index 1f786e25..69a1c2fe 100644 --- a/apps/adminer.sh +++ b/apps/adminer.sh @@ -21,9 +21,9 @@ root_check print_text_in_color "$ICyan" "Checking if Adminer is already installed..." if is_this_installed adminer then - choice=$(whiptail --title "$TITLE" --radiolist "It seems like 'Adminer' is already installed.\nChoose what you want to do.\nSelect by pressing the spacebar and ENTER" "$WT_HEIGHT" "$WT_WIDTH" 4 \ - "Uninstall Adminer" "" OFF \ - "Reinstall Adminer" "" ON 3>&1 1>&2 2>&3) + choice=$(whiptail --title "$TITLE" --menu "It seems like 'Adminer' is already installed.\nChoose what you want to do." "$WT_HEIGHT" "$WT_WIDTH" 4 \ + "Reinstall Adminer" "" \ + "Uninstall Adminer" "" 3>&1 1>&2 2>&3) case "$choice" in "Uninstall Adminer") |