Commit 2cb4cdc6 authored by Joshua Tauberer's avatar Joshua Tauberer

dont run network checks during upgrades since this is a bad reason to block an...

dont run network checks during upgrades since this is a bad reason to block an upgrade from going through
parent d3bbc0ec
...@@ -52,9 +52,13 @@ chmod +x /usr/local/bin/mailinabox ...@@ -52,9 +52,13 @@ chmod +x /usr/local/bin/mailinabox
source setup/questions.sh source setup/questions.sh
# Run some network checks to make sure setup on this machine makes sense. # Run some network checks to make sure setup on this machine makes sense.
# Skip on existing installs since we don't want this to block the ability to
# upgrade, and these checks are also in the control panel status checks.
if [ -z "$DEFAULT_PRIMARY_HOSTNAME" ]; then
if [ -z "$SKIP_NETWORK_CHECKS" ]; then if [ -z "$SKIP_NETWORK_CHECKS" ]; then
source setup/network-checks.sh source setup/network-checks.sh
fi fi
fi
# Create the STORAGE_USER and STORAGE_ROOT directory if they don't already exist. # Create the STORAGE_USER and STORAGE_ROOT directory if they don't already exist.
# If the STORAGE_ROOT is missing the mailinabox.version file that lists a # If the STORAGE_ROOT is missing the mailinabox.version file that lists a
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment