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,6 +41,7 @@ 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
 | 
				
			||||||
 | 
					    if os.path.exists("/etc/zulip/zulip-dropbox.png"):
 | 
				
			||||||
        subprocess.check_call(["cp", "-a", "/etc/zulip/zulip-dropbox.png",
 | 
					        subprocess.check_call(["cp", "-a", "/etc/zulip/zulip-dropbox.png",
 | 
				
			||||||
                               os.path.join(deploy_path, "static/images/logo")])
 | 
					                               os.path.join(deploy_path, "static/images/logo")])
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user