From 2314bbd5c4ac73cbf8473f22ff997623411d7508 Mon Sep 17 00:00:00 2001 From: kaibae19 <99116238+kaibae19@users.noreply.github.com> Date: Sun, 3 Apr 2022 18:08:55 -0700 Subject: [PATCH] Update questions.sh --- setup/questions.sh | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/setup/questions.sh b/setup/questions.sh index d43dec49..776da10b 100644 --- a/setup/questions.sh +++ b/setup/questions.sh @@ -94,14 +94,12 @@ if [ -z "${DAV_HOSTNAME:-}" ]; then DAV_HOSTNAME fi -if [ $DAV_HOSTNAME == $PRIMARY_HOSTNAME ]; then - if [ -z "${RC_DOCK:-}"]; then - RC_DOCK=n - input_box "Run Roundcube Webmail in Docker" \ "By default Mail-in-a-Box installs Roundcube onto the host. \ - \n\nDo you want to run Roundcube Webmail in a Docker container instead? (n/y)" \ - n \ - RC_DOCK - fi +if [ -z "${RC_DOCK:-}"]; then + RC_DOCK=n + input_box "Run Roundcube Webmail in Docker" \ "By default Mail-in-a-Box installs Roundcube onto the host. \ + \n\nDo you want to run Roundcube Webmail in a Docker container instead? (n/y)" \ + n \ + RC_DOCK fi # If the machine is behind a NAT, inside a VM, etc., it may not know