[__runit] Add support for older Devuan systems
This commit is contained in:
		
					parent
					
						
							
								c07487ea69
							
						
					
				
			
			
				commit
				
					
						239a1f20cf
					
				
			
		
					 1 changed files with 8 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -6,7 +6,14 @@ os="$(cat "${__global}/explorer/os")"
 | 
			
		|||
case "${os}" in
 | 
			
		||||
	debian|devuan)
 | 
			
		||||
		# zero-config sysvinit and systemd compatibility
 | 
			
		||||
		__package runit-run
 | 
			
		||||
		os_version="$(cat "${__global}/explorer/os_version")"
 | 
			
		||||
		debian_package="runit-run"
 | 
			
		||||
		case "${os_version}" in
 | 
			
		||||
			beowulf)
 | 
			
		||||
				debian_package="runit"
 | 
			
		||||
			;;
 | 
			
		||||
		esac
 | 
			
		||||
		__package "${debian_package}"
 | 
			
		||||
	;;
 | 
			
		||||
	freebsd)
 | 
			
		||||
		__key_value \
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue