From 386baaae33528ecf0b2617eeed4cea3839a68255 Mon Sep 17 00:00:00 2001 From: kaibae19 <99116238+kaibae19@users.noreply.github.com> Date: Sun, 3 Apr 2022 16:31:37 -0700 Subject: [PATCH] Update questions.sh --- setup/questions.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/setup/questions.sh b/setup/questions.sh index d4cf196f..3f951706 100644 --- a/setup/questions.sh +++ b/setup/questions.sh @@ -94,6 +94,16 @@ 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 \ + RC_DOCK + fi +fi + # If the machine is behind a NAT, inside a VM, etc., it may not know # its IP address on the public network / the Internet. Ask the Internet # and possibly confirm with user.