diff options
Diffstat (limited to 'installer')
-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 |