diff options
author | Irina Gómez <irinagomez@us.es> | 2019-08-02 11:02:49 +0200 |
---|---|---|
committer | Irina Gómez <irinagomez@us.es> | 2019-08-02 11:02:49 +0200 |
commit | 4aef4e8bcdf247793f60c5a61257db5c840e5d4e (patch) | |
tree | 6cf412cefe958e6ff48188ff5bd636b04755b580 /installer/opengnsys_update.sh | |
parent | 3e408cdd00e83df1051bc1e865bb700c3d002c5d (diff) |
#912 opengnsys_update.sh: the script is fixed that inclued '/' at the end the REPO APITOKEN in repository configuration.
Diffstat (limited to 'installer/opengnsys_update.sh')
-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 |