summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2012-10-16 11:52:19 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2012-10-16 02:16:42 -0700
commitcc08e0367862f99613bbf32b159e761c79cb7f97 (patch)
tree7563aa3a1b15a8dcd5d23a1b51f7cd35ff943aa3 /packaging
parentfada2f6bc65272d66022b562ce3197cb14fabf59 (diff)
downloadsubsurface-cc08e0367862f99613bbf32b159e761c79cb7f97.tar.gz
subsurface.nsi: call RMDir for the 'share' and 'locale' subfolders
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging')
-rw-r--r--packaging/windows/subsurface.nsi3
1 files changed, 3 insertions, 0 deletions
diff --git a/packaging/windows/subsurface.nsi b/packaging/windows/subsurface.nsi
index 9037c07c6..b19c9a49b 100644
--- a/packaging/windows/subsurface.nsi
+++ b/packaging/windows/subsurface.nsi
@@ -163,10 +163,13 @@ Section "Uninstall"
# Delete installed files
Delete "$INSTDIR\*.dll"
Delete "$INSTDIR\*.xslt"
+ Delete "$INSTDIR\freetype-config"
Delete "$INSTDIR\subsurface.exe"
Delete "$INSTDIR\subsurface.ico"
Delete "$INSTDIR\subsurface.svg"
Delete "$INSTDIR\Uninstall.exe"
+ RMDir /r "$INSTDIR\share"
+ RMDir /r "$INSTDIR\locale"
RMDir "$INSTDIR"
# Remove shortcuts