From 29e78ceacb90b9b5f514ba123e9becbb97fc3934 Mon Sep 17 00:00:00 2001 From: "b.waal" Date: Fri, 2 Oct 2020 11:12:27 +0200 Subject: [PATCH] Whiptail alignment --- installer.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/installer.sh b/installer.sh index 51f58ea..1233c2e 100644 --- a/installer.sh +++ b/installer.sh @@ -230,10 +230,10 @@ if (whiptail --title "Set sitename?" --yesno "Set sitename to ${domain//./_} ?" sitename=${domain//./_} else while true; do - sitename=$(whiptail --nocancel --inputbox "Enter sitename, Must NOT contain special characters, except: _" 8 78 --title "Sitename" 3>&1 1>&2 2>&3) + sitename=$(whiptail --nocancel --inputbox "Enter sitename, Must NOT contain special characters, except: _" 8 66 --title "Sitename" 3>&1 1>&2 2>&3) if [[ $sitename == *['!'@#\$%^\&*()+,.]* ]] || [ -z "$sitename" ] then - whiptail --msgbox " Site can't be empty, or contain a special character except for: _" 11 78 + whiptail --msgbox " Site can't be empty, or contain a special character except for: _" 11 76 else break fi @@ -243,7 +243,7 @@ while true; do HostnameQuest if [[ "$hostname" == "$domain" ]] || [ -z "$hostname" ] then - whiptail --msgbox " Hostname can't be empty, or be the same as the domain" 11 78 + whiptail --msgbox " Hostname can't be empty, or be the same as the domain" 11 63 else break