Mercurial > trustbridge
comparison 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 |
comparison
equal
deleted
inserted
replaced
1241:4692f8860a24 | 1242:e4aff35ef8fd |
---|---|
21 echo "; This file is autogenerated." > @CMAKE_CURRENT_BINARY_DIR@/filelist_un.nsh | 21 echo "; This file is autogenerated." > @CMAKE_CURRENT_BINARY_DIR@/filelist_un.nsh |
22 OLDDIR=$(pwd) | 22 OLDDIR=$(pwd) |
23 cd $TMPDIR | 23 cd $TMPDIR |
24 for file in `find * -name \*.exe`; do | 24 for file in `find * -name \*.exe`; do |
25 echo File \"\${files_dir}\${path_sep}$file\" >> @CMAKE_CURRENT_BINARY_DIR@/filelist_in.nsh | 25 echo File \"\${files_dir}\${path_sep}$file\" >> @CMAKE_CURRENT_BINARY_DIR@/filelist_in.nsh |
26 if [ "$file" = "trustbridge-nss-installer.exe" ]; then | |
27 # The nss installer is handled specially on uninstallation. | |
28 continue | |
29 fi | |
26 echo Delete \"\$INSTDIR\\$file\" >> @CMAKE_CURRENT_BINARY_DIR@/filelist_un.nsh | 30 echo Delete \"\$INSTDIR\\$file\" >> @CMAKE_CURRENT_BINARY_DIR@/filelist_un.nsh |
27 done | 31 done |
28 cd $TMPDIR/doc | 32 cd $TMPDIR/doc |
29 | 33 |
30 for curdir in `find * -maxdepth 0 -type d -not -path .`; do | 34 for curdir in `find * -maxdepth 0 -type d -not -path .`; do |