mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	This is preparation for dropping support for Trusty in CI. Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
		
			
				
	
	
		
			12 lines
		
	
	
		
			610 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			610 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/usr/bin/env bash
 | 
						|
release=$(lsb_release -sc)
 | 
						|
 | 
						|
if [ "$release" = "xenial" ] && [ -x /sbin/start ] && [ -x /sbin/stop ] && [ -x /sbin/restart ] && [ -x /sbin/status ] && [ -x /sbin/initctl ] && [ ! "$TRAVIS" ]; then
 | 
						|
    echo "You appear to be running Ubuntu Xenial, but with the upstart package installed."
 | 
						|
    echo "In Ubuntu Xenial, upstart has been replaced by systemd, and having upstart"
 | 
						|
    echo "installed will break the init scripts for Zulip dependencies like nginx."
 | 
						|
    echo "Please uninstall the \"upstart\" package (apt-get remove upstart) and rerun"
 | 
						|
    echo "this install script."
 | 
						|
    exit 1
 | 
						|
fi
 |