install-server's hostname check should be for 'is zulip in the domain?'

(imported from commit c2004edb46b5d9503899c56f13ad597f1972c3e1)
This commit is contained in:
Luke Faraone 2013-07-10 20:26:04 -04:00
parent eb0f8bda09
commit 011690e727
1 changed files with 2 additions and 2 deletions

View File

@ -7,9 +7,9 @@ if [ -z "$hostname" ]; then
echo "USAGE: $0 server type hostname"
exit 1
fi
if ! $(echo "$hostname" | grep -q humbughq.com$); then
if ! $(echo "$hostname" | grep -q zulip); then
echo "USAGE: $0 server type hostname"
echo "Hostname must end with humbughq.com"
echo "Hostname must have zulip in it."
exit 1
fi