mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	provision: Use --no-install-recommends when installing deps.
This commit is contained in:
		@@ -149,7 +149,7 @@ def install_npm():
 | 
				
			|||||||
def main():
 | 
					def main():
 | 
				
			||||||
    # type: () -> int
 | 
					    # type: () -> int
 | 
				
			||||||
    run(["sudo", "apt-get", "update"])
 | 
					    run(["sudo", "apt-get", "update"])
 | 
				
			||||||
    run(["sudo", "apt-get", "-y", "install"] + APT_DEPENDENCIES[codename])
 | 
					    run(["sudo", "apt-get", "-y", "install", "--no-install-recommends"] + APT_DEPENDENCIES[codename])
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if subprocess.call(['dpkg', '-s', TSEARCH_PACKAGE_NAME]):
 | 
					    if subprocess.call(['dpkg', '-s', TSEARCH_PACKAGE_NAME]):
 | 
				
			||||||
        temp_deb_path = subprocess.check_output(["mktemp", "package_XXXXXX.deb", "--tmpdir"])
 | 
					        temp_deb_path = subprocess.check_output(["mktemp", "package_XXXXXX.deb", "--tmpdir"])
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user