Mercurial > trustbridge
diff packaging/win-createpackage.sh.in @ 1242:e4aff35ef8fd
(issue143) Make uninstallation of nss-installer conditional on Windows
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Wed, 24 Sep 2014 17:55:14 +0200 |
parents | eb77ddd7e1ab |
children | 014586ef8a84 |
line wrap: on
line diff
--- a/packaging/win-createpackage.sh.in Wed Sep 24 17:50:23 2014 +0200 +++ b/packaging/win-createpackage.sh.in Wed Sep 24 17:55:14 2014 +0200 @@ -23,6 +23,10 @@ cd $TMPDIR for file in `find * -name \*.exe`; do echo File \"\${files_dir}\${path_sep}$file\" >> @CMAKE_CURRENT_BINARY_DIR@/filelist_in.nsh + if [ "$file" = "trustbridge-nss-installer.exe" ]; then + # The nss installer is handled specially on uninstallation. + continue + fi echo Delete \"\$INSTDIR\\$file\" >> @CMAKE_CURRENT_BINARY_DIR@/filelist_un.nsh done cd $TMPDIR/doc