mirror of https://github.com/zulip/zulip.git
update-deployment: Make zulip-dropbox.png logic conditional.
This commit is contained in:
parent
6b0d8ecfba
commit
13c2effb61
|
@ -41,8 +41,9 @@ try:
|
||||||
os.path.join(deploy_path, "zulip-venv")])
|
os.path.join(deploy_path, "zulip-venv")])
|
||||||
|
|
||||||
# Hack to deploy images not included in open source project
|
# Hack to deploy images not included in open source project
|
||||||
subprocess.check_call(["cp", "-a", "/etc/zulip/zulip-dropbox.png",
|
if os.path.exists("/etc/zulip/zulip-dropbox.png"):
|
||||||
os.path.join(deploy_path, "static/images/logo")])
|
subprocess.check_call(["cp", "-a", "/etc/zulip/zulip-dropbox.png",
|
||||||
|
os.path.join(deploy_path, "static/images/logo")])
|
||||||
|
|
||||||
# Update static files
|
# Update static files
|
||||||
logging.info("Updating static files")
|
logging.info("Updating static files")
|
||||||
|
|
Loading…
Reference in New Issue