mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 21:43:21 +00:00
update-deployment: Make zulip-dropbox.png logic conditional.
This commit is contained in:
@@ -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")
|
||||||
|
|||||||
Reference in New Issue
Block a user