install: On --express, check up front for --hostname and --email.

This commit is contained in:
Greg Price 2018-02-08 16:33:53 -08:00
parent 31ec9a4627
commit 8f4b7f6e1e
1 changed files with 5 additions and 0 deletions

View File

@ -72,6 +72,11 @@ if [ -n "$USE_CERTBOT" ] \
usage
fi
if [ -n "$EXPRESS_SETUP" ] \
&& { [ -z "$EXTERNAL_HOST" ] || [ -z "$ZULIP_ADMINISTRATOR" ]; }; then
usage
fi
# Do set -x after option parsing is complete
set -x