mirror of https://github.com/zulip/zulip.git
install: Fix check for whether update-prod-static is needed.
The previous version seems to be created without update-prod-static.
This commit is contained in:
parent
f3b4de822b
commit
0a91a5510c
|
@ -141,7 +141,7 @@ if [ "$has_appserver" = 0 ]; then
|
|||
cp -rT "$deploy_path"/prod-static/serve /home/zulip/prod-static
|
||||
chown -R zulip:zulip /home/zulip /var/log/zulip /etc/zulip/settings.py
|
||||
|
||||
if ! [ -e "/home/zulip/deployments/current/prod-static" ]; then
|
||||
if ! [ -e "/home/zulip/prod-static/generated" ]; then
|
||||
# If we're installing from a git checkout, we need to run
|
||||
# `tools/update-prod-static` in order to build the static
|
||||
# assets.
|
||||
|
|
Loading…
Reference in New Issue