Pārlūkot izejas kodu

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

Guzmán Castanedo Villalba 5 gadi atpakaļ
vecāks
revīzija
a23bd8270c
1 mainītis faili ar 1 papildinājumiem un 2 dzēšanām
  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
 }