diff options
Diffstat (limited to 'installer/opengnsys_update.sh')
-rwxr-xr-x | installer/opengnsys_update.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/installer/opengnsys_update.sh b/installer/opengnsys_update.sh index 8a307257..0f976497 100755 --- a/installer/opengnsys_update.sh +++ b/installer/opengnsys_update.sh @@ -1006,8 +1006,9 @@ function checkFiles() echoAndLog "${FUNCNAME}(): Deleting unused files" rm -f /tmp/dstate fi - # Crear ficheros de logrotate. + # Crear nuevos ficheros de logrotate y borrar el fichero antiguo. if [ -d $LOGROTATEDIR ]; then + rm -f $LOGROTATEDIR/opengnsys if [ ! -f $LOGROTATEDIR/opengnsysServer ]; then echoAndLog "${FUNCNAME}(): Creating logrotate configuration file for server" sed -e "s/OPENGNSYSDIR/${INSTALL_TARGET//\//\\/}/g" \ |