mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	update-prod-static: Ensure that it is run as the zulip user.
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							c97956c5ff
						
					
				
				
					commit
					e2d8c97463
				
			@@ -16,7 +16,9 @@ from django.conf import settings
 | 
			
		||||
# check for the venv
 | 
			
		||||
from lib import sanity_check
 | 
			
		||||
from scripts.lib.node_cache import setup_node_modules
 | 
			
		||||
from scripts.lib.zulip_tools import run
 | 
			
		||||
from scripts.lib.zulip_tools import assert_not_running_as_root, run
 | 
			
		||||
 | 
			
		||||
assert_not_running_as_root()
 | 
			
		||||
 | 
			
		||||
sanity_check.check_venv(__file__)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user