Przeglądaj źródła

Cambios en instalarPHP()

Guzmán Castanedo Villalba 5 lat temu
rodzic
commit
831b0e0e03
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      install

+ 2 - 2
install

@@ -555,10 +555,10 @@ instalarPHP() {
 		comprobarError $? 103 $result
 		# Necesitamos un repositorio adicional para PHP-7 (REMI-RELEASE)
 		if [ $VERSION = "7" ];then
-			result=$(rpm -U http://rpms.famillecollet.com/enterprise/remi-release-7.rpm 2>&1)
+			result=$(yum -y install http://rpms.remirepo.net/enterprise/remi-release-7.rpm 2>&1)
 			comprobarError $? 303 $result
 		elif [ $VERSION = "6" ];then
-			result=$(rpm -U http://rpms.famillecollet.com/enterprise/remi-release-6.rpm 2>&1)
+			result=$(yum -y install http://rpms.remirepo.net/enterprise/remi-release-6.rpm 2>&1)
 			comprobarError $? 303 $result
 		else
 			comprobarError 1 304