summaryrefslogtreecommitdiffstats
path: root/client/engine/PostConf.lib
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2017-11-13 09:17:20 +0000
committerramon <ramongomez@us.es>2017-11-13 09:17:20 +0000
commit1777170eab1ea72c56a8958812f29ff46f0d6a66 (patch)
tree4af47e88aee4a7babc75faab75a9e98daecdd97a /client/engine/PostConf.lib
parentb9bdfa03488ddb78fd2c768ab95ed4dc766a2f3e (diff)
#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
Diffstat (limited to 'client/engine/PostConf.lib')
-rwxr-xr-xclient/engine/PostConf.lib8
1 files changed, 4 insertions, 4 deletions
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
}