Explorar el Código

* Bug: en configurarApache() cambiar las rutas

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

+ 2 - 2
install

@@ -488,8 +488,8 @@ instalarApache() {
 
 configurarApache() {
 	if [ $rhelOS = true ];then
-		apacheConfFile="./etc/apache-rhel/conf/httpd.conf"
-		welcomeConfFile="/etc/httpd/conf.d/welcome.conf"
+		apacheConfFile="./etc/$webServerName-rhel/conf/httpd.conf"
+		welcomeConfFile="/etc/$webServerName/conf.d/welcome.conf"
 		if [ ! -f $apacheConfFile ];then
 			comprobarError 1 4 $apacheConfFile
 		fi