Second read in the if loop break automation as both cases in the loop require user input, removing else to allow for automation
This commit is contained in:
parent
7ca0d96bf6
commit
71319cd9eb
|
@ -19,8 +19,6 @@ fi
|
|||
[[ -a /etc/timezone ]] && TZ=$(cat /etc/timezone)
|
||||
if [ -z "$TZ" ]; then
|
||||
read -p "Timezone: " -ei "Europe/Berlin" TZ
|
||||
else
|
||||
read -p "Timezone: " -ei ${TZ} TZ
|
||||
fi
|
||||
|
||||
cat << EOF > mailcow.conf
|
||||
|
|
Loading…
Reference in New Issue