diff options
author | szaimen <szaimen@e.mail.de> | 2020-09-04 10:05:47 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-04 10:05:47 +0300 |
commit | c42ec1d992d4ac995c6700affe05ba74cdb99c4c (patch) | |
tree | b53ae82a9916e7e66e064e08b5c124eb89c6dcb8 /apps/adminer.sh | |
parent | 80dc7b6293f260f6261a6757ead1cfe717fa5ed6 (diff) |
add SCRIPT_NAME to all scripts and standardize whiptail-titles (#1400)
Signed-off-by: enoch85 <github@hanssonit.se>
Co-authored-by: enoch85 <github@hanssonit.se>
Diffstat (limited to 'apps/adminer.sh')
-rw-r--r-- | apps/adminer.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/adminer.sh b/apps/adminer.sh index a7f8f2f2..1f786e25 100644 --- a/apps/adminer.sh +++ b/apps/adminer.sh @@ -4,6 +4,7 @@ # shellcheck disable=2034,2059 true +SCRIPT_NAME="Adminer" # shellcheck source=lib.sh . <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh) @@ -20,7 +21,7 @@ root_check print_text_in_color "$ICyan" "Checking if Adminer is already installed..." if is_this_installed adminer then - choice=$(whiptail --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 \ + 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) |