|
@@ -18,7 +18,7 @@ comprobarError() {
|
|
|
# 6xx: Moodle
|
|
|
# 7xx: Actualizaciones automáticas
|
|
|
# 8xx: Dependencias
|
|
|
- # 9xx: Servicios
|
|
|
+ # 9xx: Servicios & Firewall
|
|
|
type="ERROR"
|
|
|
exitNum=$1
|
|
|
codeNum=$2
|
|
@@ -475,7 +475,7 @@ configurarNginx() {
|
|
|
elif [ $rhelOS = true ];then
|
|
|
nginxConfFile="./etc/nginx-rhel/*"
|
|
|
fi
|
|
|
- if [ ! -f $nginxConfFile ];then
|
|
|
+ if [ ! -d $nginxConfFile ];then
|
|
|
comprobarError 1 107
|
|
|
fi
|
|
|
cp -R $nginxConfFile /etc/nginx/ 2>/dev/null
|