[Spice-devel] [NSIS] ovirt: Add missing removal of hooks base directory

Yedidyah Bar David didi at redhat.com
Wed Jun 22 08:11:41 UTC 2016


From: Vinzenz Feenstra <vfeenstr at redhat.com>

When the directories for the hooks have been introduced, the base folder
has been left over during the uninstallation. This patch adds the removal
of the hooks base directory.

Change-Id: Ib48d2538c92e5e761ce4803c99a85ca0de2a47a4
Signed-off-by: Vinzenz Feenstra <vfeenstr at redhat.com>
---
 win-guest-tools.nsis | 1 +
 1 file changed, 1 insertion(+)

diff --git a/win-guest-tools.nsis b/win-guest-tools.nsis
index 5c594c0..4e5464e 100644
--- a/win-guest-tools.nsis
+++ b/win-guest-tools.nsis
@@ -245,6 +245,7 @@ Section "Uninstall"
   RMDir /rebootok "$INSTDIR\hooks\before_hibernation"
   RMDir /rebootok "$INSTDIR\hooks\after_migration"
   RMDir /rebootok "$INSTDIR\hooks\before_migration"
+  RMDir /rebootok "$INSTDIR\hooks"
 !endif
   RMDir /rebootok "$INSTDIR"
 
-- 
2.1.4



More information about the Spice-devel mailing list