mirror of https://github.com/zulip/zulip.git
install-server's hostname check should be for 'is zulip in the domain?'
(imported from commit c2004edb46b5d9503899c56f13ad597f1972c3e1)
This commit is contained in:
parent
eb0f8bda09
commit
011690e727
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue