summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinzenz Feenstra <vfeenstr@redhat.com>2016-06-22 12:12:43 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2016-06-22 16:28:08 +0200
commit506e6371fb8fe250d1ae6ee0e6f6f53bea0095d6 (patch)
tree87d50b58a5e9fba72bf50a48d6c9323bc3a94ff3
parentb5db9d7b383786c58c40a4c8ae4242f6fc9255e3 (diff)
ovirt: Add missing removal of hooks base directory
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@redhat.com>
-rw-r--r--win-guest-tools.nsis1
1 files changed, 1 insertions, 0 deletions
diff --git a/win-guest-tools.nsis b/win-guest-tools.nsis
index 0aa3409..9679a7f 100644
--- a/win-guest-tools.nsis
+++ b/win-guest-tools.nsis
@@ -243,6 +243,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"