changeset 1355:1dbe849fd0bf

Remove empty parent directory of installation direcotry.
author Andre Heinecke <andre.heinecke@intevation.de>
date Thu, 30 Oct 2014 14:27:23 +0100
parents 214958fcfc87
children 114d39aed969
files packaging/trustbridge.nsi
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/packaging/trustbridge.nsi	Thu Oct 30 12:51:25 2014 +0100
+++ b/packaging/trustbridge.nsi	Thu Oct 30 14:27:23 2014 +0100
@@ -335,6 +335,8 @@
   RmDir "$0\BSI"
   Delete "$INSTDIR\Uninstall.exe"
   RMDir "$INSTDIR"
+  RMDir "$INSTDIR\.." # The instdir is \trustbridge usually \BSI\TrustBridge we delete the parent directory only if it is empty. So no harm
+                      # done if that is not the case.
 
   !insertmacro MUI_STARTMENU_GETFOLDER Application $StartMenuFolder
 

http://wald.intevation.org/projects/trustbridge/