From 1777170eab1ea72c56a8958812f29ff46f0d6a66 Mon Sep 17 00:00:00 2001 From: ramon Date: Mon, 13 Nov 2017 09:17:20 +0000 Subject: #718: Script {{{configureOs}}} elimina antiguo cliente ogAdm... para Linux y Windows. git-svn-id: https://opengnsys.es/svn/branches/version1.1@5507 a21b9725-9963-47de-94b9-378ad31fedc9 --- client/engine/PostConf.lib | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'client/engine/PostConf.lib') diff --git a/client/engine/PostConf.lib b/client/engine/PostConf.lib index 86e65d8f..bd5809b2 100755 --- a/client/engine/PostConf.lib +++ b/client/engine/PostConf.lib @@ -633,13 +633,13 @@ fi # Error si no se reciben 3 parámetros. [ $# == 3 ] || ogRaiseError $OG_ERR_FORMAT || return $? # Obtener sistema de archvios. -MNTDIR=$(ogMount $1 $2) || return $? +MNTDIR=$(ogMount "$1" "$2") || return $? # Crear órdenes para desinstalar servicio y borrar ejecutable del cliente. if [ -n "$(ogGetPath $MNTDIR/windows/ogAdmWinClient.exe)" -o -n "$(ogGetPath $MNTDIR/winnt/ogAdmWinClient.exe)" ]; then - ogAddCmd $1 $2 $3 'ogAdmWinClient -remove' - ogAddCmd $1 $2 $3 'DEL C:\Windows\ogAdmWinClient.exe' - ogAddCmd $1 $2 $3 'DEL C:\Winnt\ogAdmWinClient.exe' + ogAddCmd $1 $2 "$3" 'ogAdmWinClient -remove' + ogAddCmd $1 $2 "$3" 'DEL C:\Windows\ogAdmWinClient.exe' + ogAddCmd $1 $2 "$3" 'DEL C:\Winnt\ogAdmWinClient.exe' fi } -- cgit v1.2.3-18-g5258