Mercurial > trustbridge
comparison 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 |
comparison
equal
deleted
inserted
replaced
1241:4692f8860a24 | 1242:e4aff35ef8fd |
---|---|
57 echo "; This file is autogenerated." > $TMPDIR/resources/filelist_un.nsh | 57 echo "; This file is autogenerated." > $TMPDIR/resources/filelist_un.nsh |
58 OLDDIR=$(pwd) | 58 OLDDIR=$(pwd) |
59 cd $TMPDIR/windows | 59 cd $TMPDIR/windows |
60 for file in `find * -name \*.exe`; do | 60 for file in `find * -name \*.exe`; do |
61 echo File \"\${files_dir}\${path_sep}$file\" >> $TMPDIR/resources/filelist_in.nsh | 61 echo File \"\${files_dir}\${path_sep}$file\" >> $TMPDIR/resources/filelist_in.nsh |
62 if [ "$file" = "trustbridge-nss-installer.exe" ]; then | |
63 # The nss installer is handled specially on uninstallation. | |
64 continue | |
65 fi | |
62 echo Delete \"\$INSTDIR\\$file\" >> $TMPDIR/resources/filelist_un.nsh | 66 echo Delete \"\$INSTDIR\\$file\" >> $TMPDIR/resources/filelist_un.nsh |
63 done | 67 done |
64 cd $TMPDIR/windows/doc | 68 cd $TMPDIR/windows/doc |
65 | 69 |
66 for curdir in `find * -maxdepth 0 -type d -not -path .`; do | 70 for curdir in `find * -maxdepth 0 -type d -not -path .`; do |