scripts: Remove create-zulip-admin.

This was used only by ancient versions of the Docker project.
This commit is contained in:
Tim Abbott 2019-03-04 15:33:30 -08:00
parent 0e7a5d82b4
commit 8469c7774f
2 changed files with 0 additions and 14 deletions

View File

@ -1,13 +0,0 @@
#!/usr/bin/env bash
if { [ "$ZULIP_USER_CREATION_ENABLED" == "True" ] || [ "$ZULIP_USER_CREATION_ENABLED" == "true" ]; } && \
{ [ -z "$ZULIP_USER_DOMAIN" ] || \
[ -z "$ZULIP_USER_EMAIL" ] || \
[ -z "$ZULIP_USER_FULLNAME" ] || \
[ -z "$ZULIP_USER_PASS" ]; }; then
echo "No zulip user configuration given."
exit 1
fi
set +e
sudo -H -u zulip -g zulip /home/zulip/deployments/current/manage.py create_user --this-user-has-accepted-the-tos --realm "$ZULIP_USER_DOMAIN" --password "$ZULIP_USER_PASS" "$ZULIP_USER_EMAIL" "$ZULIP_USER_FULLNAME"
sudo -H -u zulip -g zulip /home/zulip/deployments/current/manage.py knight "$ZULIP_USER_EMAIL" -f

View File

@ -664,7 +664,6 @@ def build_custom_checkers(by_lang):
'include_only': set(['scripts/']),
'exclude': set([
'scripts/lib/install',
'scripts/lib/create-zulip-admin',
'scripts/setup/terminate-psql-sessions',
'scripts/setup/configure-rabbitmq'
]), },