diff packaging/create-dist-package.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/create-dist-package.sh.in	Wed Sep 24 17:50:23 2014 +0200
+++ b/packaging/create-dist-package.sh.in	Wed Sep 24 17:55:14 2014 +0200
@@ -59,6 +59,10 @@
 cd $TMPDIR/windows
 for file in `find * -name \*.exe`; do
     echo File \"\${files_dir}\${path_sep}$file\" >> $TMPDIR/resources/filelist_in.nsh
+    if [ "$file" = "trustbridge-nss-installer.exe" ]; then
+        # The nss installer is handled specially on uninstallation.
+        continue
+    fi
     echo Delete \"\$INSTDIR\\$file\" >> $TMPDIR/resources/filelist_un.nsh
 done
 cd $TMPDIR/windows/doc

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