parent
							
								
									d5591e3be7
								
							
						
					
					
						commit
						93ba3d8796
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		|  | @ -5,9 +5,13 @@ | ||||||
| 
 | 
 | ||||||
| # Initializes $installer and $distrib | # Initializes $installer and $distrib | ||||||
| if hash dnf 2>/dev/null; then | if hash dnf 2>/dev/null; then | ||||||
| 	# Fedora, CentOS | 	# Fedora, CentOS with dnf installed | ||||||
| 	installer="dnf install --allowerasing" | 	installer="dnf install --allowerasing" | ||||||
| 	distrib="redhat" | 	distrib="redhat" | ||||||
|  | elif hash yum 2>/dev/null; then | ||||||
|  | 	# CentOS | ||||||
|  | 	installer="yum install" | ||||||
|  | 	distrib="redhat" | ||||||
| elif hash zypper 2>/dev/null; then | elif hash zypper 2>/dev/null; then | ||||||
| 	# OpenSUSE | 	# OpenSUSE | ||||||
| 	installer="zypper install" | 	installer="zypper install" | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 TheElectronWill
						TheElectronWill