helper: work around for systems only having py3 binary
	
		
			
	
		
	
	
		
	
		
			Some checks are pending
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is running
				
			
		
		
	
	
				
					
				
			
		
			Some checks are pending
		
		
	
	continuous-integration/drone/push Build is running
				
			This commit is contained in:
		@@ -1,4 +1,8 @@
 | 
				
			|||||||
#! /bin/sh
 | 
					#! /bin/sh
 | 
				
			||||||
 | 
					if ! command -v python && command -v python3 ; then
 | 
				
			||||||
 | 
						alias python='python3'
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
function run {
 | 
					function run {
 | 
				
			||||||
	gunicorn --bind 0.0.0.0:${PORT:-8000} --preload --access-logfile - morss
 | 
						gunicorn --bind 0.0.0.0:${PORT:-8000} --preload --access-logfile - morss
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user