Explorar el Código

* Bug: en línea 1296 y 1312

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

+ 2 - 2
install

@@ -1293,7 +1293,7 @@ generarCertLetsEncrypt() {
 	if [ $apacheOn = true ];then
 		# Usamos plugin para apache
 		if [ $mediaWikiOn = true ];then
-			if [ ! -z $aliasMediaWiki ];then
+			if [ ! -z "$aliasMediaWiki" ];then
 				dominios=$dominioMediaWiki","$(echo $aliasMediaWiki | sed -e 's/ /,/g')
 			else
 				dominios=$dominioMediaWiki
@@ -1309,7 +1309,7 @@ generarCertLetsEncrypt() {
 	elif [ $nginxOn = true ];then
 		# Usamos plugin para nginx
 		if [ $mediaWikiOn = true ];then
-			if [ ! -z $aliasMediaWiki ];then
+			if [ ! -z "$aliasMediaWiki" ];then
 				dominios=$dominioMediaWiki","$(echo $aliasMediaWiki | sed -e 's/ /,/g')
 			else
 				dominios=$dominioMediaWiki