Explorar el Código

Cambios menores

Guzmán Castanedo Villalba hace 5 años
padre
commit
01d8641436
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5 0
      install

+ 5 - 0
install

@@ -191,23 +191,28 @@ OSInfo() {
 			DIST="Debian"
 			REV=""
 			ID_LIKE="debian"
+			VERSION=""
 			debianOS=true
 		elif [ -f /etc/redhat-release ]; then
 			# Familia Red-Hat (RHEL, Fedora, CentOS, ...)
 			DIST="Red-Hat"
 			REV=""
 			ID_LIKE="rhel"
+			VERSION=""
 			rhelOS=true
 		else
 			# Other Linux (No Soportado)
 			DIST=""
 			REV=""
 			ID_LIKE=""
+			VERSION=""
 		fi
 	else
 		# UNIX, OS X, ... (No Soportado)
 		DIST=$OS
 		REV=""
+		ID_LIKE=""
+		VERSION=""
 	fi
 	#printf " $OS $DIST $REV\n"
 	HDInfo=$(df -h | head -1)"\n"$(df -h | grep ^/dev/sd)"\n"$(df -h | grep ^/dev/mapper)