Revision 2859

tmp/org.txm.setups/BuildLinux64bit.sh (revision 2859)
66 66
# for multi installation: set the package version to txm-$VERSION
67 67
find "$APP/DEBIAN/preinst" -type f -exec sed -i "s/TXMVERSION/$VERSION/g" {} \;
68 68
find "$APP/DEBIAN/postinst" -type f -exec sed -i "s/TXMVERSION/$VERSION/g" {} \;
69
find "$APP/DEBIAN/postrm" -type f -exec sed -i "s/TXMVERSION/$VERSION/g" {} \;
69 70
find "$APP/usr/bin/TXM" -type f -exec sed -i "s/TXMVERSIONWITHOUTSUB/${VERSIONWITHOUTSUB}/g" {} \;
70 71
find "$APP/usr/bin/TXM" -type f -exec sed -i "s/TXMVERSION/$VERSION/g" {} \;
71 72
find "$APP/DEBIAN/control" -type f -exec sed -i "s/TXMVERSION/${VERSION}/g" {} \;
tmp/org.txm.setups/shared/win/txm.nsi (revision 2859)
154 154

  
155 155
LangString ErrorArch64Message ${LANG_ENGLISH} "This setup is for 64bit systems but your system seems to be 32bit. Please download and install the 32bit version of TXM for this machine. Continue to install anyway?"
156 156

  
157
LangString UninstallWindowsMessage ${LANG_ENGLISH} "TXM is already installed on this machine.$\n$\nClick `OK` to uninstall the previous version first (TXM corpora will NOT be removed).$\nOr click `Cancel` to abort this installation.$\nPlease ensure that no TXM is running during the installation process."
157
LangString UninstallWindowsMessage ${LANG_ENGLISH} "TXM TXMVERSION is already installed on this machine.$\n$\nClick `OK` to uninstall the previous version first (TXM TXMVERSION corpora will NOT be removed).$\nOr click `Cancel` to abort this installation.$\nPlease ensure that no TXM TXMVERSION is running during the installation process."
158 158

  
159 159

  
160 160
;Lang Strings FRENCH
......
180 180

  
181 181
LangString ErrorArch64Message ${LANG_FRENCH} "La version de TXM que vous allez installer est pour un syst?me 64 bits, or votre syst?me semble ?tre 32 bits. Il faudrait t?l?charger et installer la version 32 bits de TXM. Voulez-vous malgr? tout continuer cette installation ?"
182 182

  
183
LangString UninstallWindowsMessage ${LANG_FRENCH} "TXM est d?j? install? sur cette machine. Veuillez cliquer sur 'OK' pour d?sinstaller cette version au pr?alable (les corpus seront conserv?s). Ou cliquez sur 'Annuler' pour interrompre l'installation. Merci de vous assurer que TXM n'est pas en cours d'ex?cution pendant l'installation."
183
LangString UninstallWindowsMessage ${LANG_FRENCH} "TXM TXMVERSION est d?j? install? sur cette machine. Veuillez cliquer sur 'OK' pour d?sinstaller cette version au pr?alable (les corpus seront conserv?s). Ou cliquez sur 'Annuler' pour interrompre l'installation. Merci de vous assurer que TXM TXMVERSION n'est pas en cours d'ex?cution pendant l'installation."
184 184

  
185

  
186 185
;END OF LANG MESSAGES
187 186

  
188 187

  
tmp/org.txm.setups/shared/debian/DEBIAN/postrm (revision 2859)
1
#!/bin/bash
2

  
1 3
# Source debconf library.
2 4
#. /usr/share/debconf/confmodule
3 5

  
......
3 5
# Remove my changes to the db.
4 6
#db_purge
7

  
8
VERSION=-TXMVERSION
9

  
10
echo "removing /usr/lib/TXM${VERSION}"
11
if [ -d "/usr/lib/TXM${VERSION}" ]; then
12
	rm -rf "/usr/lib/TXM${VERSION}"
13
fi

Also available in: Unified diff