[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [emerge/enterprise] portage/package/kdepim-e5-package: Only terminate running processes from $INSTDI
From:       Andre Heinecke <aheinecke () intevation ! de>
Date:       2012-07-30 17:01:23
Message-ID: 20120730170123.8B1B6A6094 () git ! kde ! org
[Download RAW message or body]

Git commit bacff4a672f4ae1029714b0cc4eeedc6c5f4560e by Andre Heinecke.
Committed on 30/07/2012 at 19:00.
Pushed by aheinecke into branch 'enterprise'.

Only terminate running processes from $INSTDIR/bin

    Otherwise the uninstaller would kill itself,..

M  +1    -1    portage/package/kdepim-e5-package/kontact-e5-installer.nsi

http://commits.kde.org/emerge/bacff4a672f4ae1029714b0cc4eeedc6c5f4560e

diff --git a/portage/package/kdepim-e5-package/kontact-e5-installer.nsi \
b/portage/package/kdepim-e5-package/kontact-e5-installer.nsi index 40afe1f..98aa8a4 \
                100644
--- a/portage/package/kdepim-e5-package/kontact-e5-installer.nsi
+++ b/portage/package/kdepim-e5-package/kontact-e5-installer.nsi
@@ -404,7 +404,7 @@ Section "un."
   DetailPrint "Beende Prozesse"
   ${UnStrRep} '$0' '$INSTDIR' '\' '\\'
   ${UnStrRep} '$1' '$0' '(x86)' '%'
-  ExecDos::exec '"$SYSDIR\cmd.exe" /C "wmic process where (executablepath like \
$\"%$1%$\") terminate 0"' "" "$TEMP\kontact_termination.log" +  ExecDos::exec \
'"$SYSDIR\cmd.exe" /C "wmic process where (executablepath like $\"%$1\\bin%$\") \
terminate 0"' "" "$TEMP\kontact_termination.log"  
   sleep 3000
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic