Explorar el Código

* configurarSELinux(): para que sea compatible con CentOS y Fedora

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

+ 1 - 2
install

@@ -1795,7 +1795,6 @@ configurarSELinux() {
 			centos)
 				result=$(yum -y install policycoreutils-python 2>&1)
 				comprobarError $? 605 $result
-				
 				;;
 			fedora)
 				result=$(yum -y install policycoreutils-python-utils 2>&1)
@@ -1807,7 +1806,7 @@ configurarSELinux() {
 		esac
 	fi
 	semanage fcontext -a -t httpd_sys_rw_content_t "/var/www/moodledata(/.*)?" > /dev/null 2>&1
-	comprobarError $? 604
+	#comprobarError $? 604
 	restorecon -R /var/www/ > /dev/null 2>&1
 	comprobarError $? 604
 }