Slackware os and os_version explorer support.
This commit is contained in:
		
					parent
					
						
							
								1d933dd5d3
							
						
					
				
			
			
				commit
				
					
						1b25ef33b9
					
				
			
		
					 2 changed files with 8 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -88,6 +88,11 @@ if [ -f /etc/SuSE-release ]; then
 | 
			
		|||
   exit 0
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
if [ -f /etc/slackware-version ]; then
 | 
			
		||||
   echo slackware
 | 
			
		||||
   exit 0
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
uname_s="$(uname -s)"
 | 
			
		||||
 | 
			
		||||
# Assume there is no tr on the client -> do lower case ourselves
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -54,6 +54,9 @@ case "$($__explorer/os)" in
 | 
			
		|||
   redhat|centos)
 | 
			
		||||
      cat /etc/redhat-release
 | 
			
		||||
   ;;
 | 
			
		||||
   slackware)
 | 
			
		||||
      cat /etc/slackware-version
 | 
			
		||||
   ;;
 | 
			
		||||
   suse)
 | 
			
		||||
      cat /etc/SuSE-release
 | 
			
		||||
   ;;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue