use /etc/os-release instead of /etc/SuSE-release
This commit is contained in:
		
					parent
					
						
							
								74652cec13
							
						
					
				
			
			
				commit
				
					
						bee5593570
					
				
			
		
					 1 changed files with 5 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -61,7 +61,11 @@ case "$($__explorer/os)" in
 | 
			
		|||
      cat /etc/slackware-version
 | 
			
		||||
   ;;
 | 
			
		||||
   suse)
 | 
			
		||||
      if [ -f /etc/os-release ]; then
 | 
			
		||||
        cat /etc/os-release
 | 
			
		||||
      else
 | 
			
		||||
        cat /etc/SuSE-release
 | 
			
		||||
      fi
 | 
			
		||||
   ;;
 | 
			
		||||
   ubuntu)
 | 
			
		||||
      lsb_release -sr
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue