summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRamón M. Gómez <ramongomez@us.es>2019-05-07 10:40:14 +0200
committerRamón M. Gómez <ramongomez@us.es>2019-05-07 10:40:14 +0200
commit3492b43ca58e867592d2671ec04e1a3ca8a961c1 (patch)
treed449c9077ba406c8f6119ddc4e17fad9263b8944
parent5b5d6f5afdb7a3a3c0b5dcc1fb026b3fab7626be (diff)
#761 Fix bug catching client id.
-rwxr-xr-xinstaller/opengnsys_installer.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/installer/opengnsys_installer.sh b/installer/opengnsys_installer.sh
index 59fe871e..6359e4eb 100755
--- a/installer/opengnsys_installer.sh
+++ b/installer/opengnsys_installer.sh
@@ -1075,7 +1075,7 @@ php app/console fos:user:create "$OPENGNSYS_DB_USER" "${OPENGNSYS_DB_USER}@local
read -e CLIENTID CLIENTSECRET <<< \
"$(php app/console opengnsys:oauth-server:client:create --no-ansi | \
awk 'BEGIN {RS=" "}
- /^(id|secret)$/ {getline; gsub(/(,|.*_)/,""); printf("%s ", $0)}')"
+ /^(id|secret)$/ {getline; gsub(/,/, ""); printf("%s ", $0)}')"
popd
echoAndLog "${FUNCNAME}(): Installing frontend framework..."
@@ -1621,11 +1621,11 @@ else
fi
# Copiar carpeta Interface entre administración y motor de clonación.
-#copyInterfaceAdm
-#if [ $? -ne 0 ]; then
-# errorAndLog "Error while copying Administration Interface"
-# exit 1
-#fi
+copyInterfaceAdm
+if [ $? -ne 0 ]; then
+ errorAndLog "Error while copying Administration Interface"
+ exit 1
+fi
# Configuración de TFTP.
tftpConfigure