diff options
author | Irina Gómez <irinagomez@us.es> | 2019-08-02 11:02:49 +0200 |
---|---|---|
committer | Ramón M. Gómez <ramongomez@us.es> | 2019-08-20 17:26:48 +0200 |
commit | 39720c640adf5d9e16625f24135e5c5a06499a04 (patch) | |
tree | da44a4631267df9754495c3d08a00a81956d7cb5 | |
parent | 2213b9a3531d1b84e96289d78d79ff3f98e08ccc (diff) |
#912 opengnsys_update.sh: the script is fixed that inclued '/' at the end the REPO APITOKEN in repository configuration.
-rwxr-xr-x | installer/opengnsys_update.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/installer/opengnsys_update.sh b/installer/opengnsys_update.sh index 92dea9a9..11acd1bb 100755 --- a/installer/opengnsys_update.sh +++ b/installer/opengnsys_update.sh @@ -980,8 +980,8 @@ function compileServices() popd # Parar antiguo servicio de repositorio y añadir clave de acceso REST en su fichero de configuración. pgrep ogAdmRepo > /dev/null && service="ogAdmRepo" $STOPSERVICE - sed -i -n -e "/^ApiToken=/!p" -e "$ a\ApiToken=$REPOKEY/" $INSTALL_TARGET/etc/ogAdmRepo.cfg - sed -i -n -e "/^APITOKEN=/!p" -e "$ a\APITOKEN=$REPOKEY/" $INSTALL_TARGET/etc/ogAdmServer.cfg + sed -i -n -e "/^ApiToken=/!p" -e "$ a\ApiToken=$REPOKEY" $INSTALL_TARGET/etc/ogAdmRepo.cfg + sed -i -n -e "/^APITOKEN=/!p" -e "$ a\APITOKEN=$REPOKEY" $INSTALL_TARGET/etc/ogAdmServer.cfg # Compilar OpenGnsys Agent echoAndLog "${FUNCNAME}(): Recompiling OpenGnsys Server Agent" pushd $WORKDIR/opengnsys/admin/Sources/Services/ogAdmAgent |