[Spice-devel] [NSIS v2 4/4] ovirt: Add missing removal of hooks base directory
Vinzenz 'evilissimo' Feenstra
vfeenstr at redhat.com
Wed Jun 22 10:12:43 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 87ac923..3e70bd0 100644
--- a/win-guest-tools.nsis
+++ b/win-guest-tools.nsis
@@ -244,6 +244,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.8.0
More information about the Spice-devel
mailing list