docs: Fix missing quotes in su zulip -c documentation.

This fixes an actual user-facing issue in our mobile push
notifications documentation (where we were incorrectly failing to
quote the argument to `./manage.py register_server` making it not
work), as well as preventing future similar issues from occurring
again via a linter rule.
This commit is contained in:
Tim Abbott
2018-11-30 12:08:25 -08:00
parent 9ec154bbe8
commit e414036eb3
5 changed files with 10 additions and 6 deletions

View File

@@ -315,7 +315,7 @@ if [ "$has_appserver" = 0 ]; then
# If we're installing from a git checkout, we need to run
# `tools/update-prod-static` in order to build the static
# assets.
su zulip -c "/home/zulip/deployments/current/tools/update-prod-static --authors-not-required"
su zulip -c '/home/zulip/deployments/current/tools/update-prod-static --authors-not-required'
fi
fi
@@ -331,7 +331,7 @@ if [ -n "$NO_INIT_DB" ]; then
Stopping because --no-init-db was passed. To complete the installation, run:
su zulip -c /home/zulip/deployments/current/scripts/setup/initialize-database
su zulip -c '/home/zulip/deployments/current/scripts/setup/initialize-database'
EOF
exit 0
fi