comparison packaging/linux-installer.inc @ 1150:a72d59f8c3ea

Create uninstaller.
author Sascha Wilde <wilde@intevation.de>
date Thu, 18 Sep 2014 13:27:57 +0200
parents f67a6873d9c1
children 22b3daa4e464
comparison
equal deleted inserted replaced
1149:96ecd345c961 1150:a72d59f8c3ea
31 # 31 #
32 # Search the file for 'version()' to find the license information. 32 # Search the file for 'version()' to find the license information.
33 set -u 33 set -u
34 34
35 ###INCLUDE:linux-installer-common.inc 35 ###INCLUDE:linux-installer-common.inc
36 ###INCLUDE:linux-installer.l10n-de
36 37
37 ###INCLUDE:linux-installer-uninstall.inc 38 ###INCLUDE:linux-installer-uninstall.inc
38 39
39 usage() 40 usage()
40 { 41 {
111 fi 112 fi
112 getxt "TrustBridge has been installed to: '%s'\n\n" "${instcfg[PREFIX]}" 113 getxt "TrustBridge has been installed to: '%s'\n\n" "${instcfg[PREFIX]}"
113 114
114 getxt "To remove the application and the root certificates it has inserted,\n" 115 getxt "To remove the application and the root certificates it has inserted,\n"
115 getxt "call the deinstall command:\n" 116 getxt "call the deinstall command:\n"
116 echo " $RUNCMD ${instcfg[PREFIX]}/bin/trustbridge-deinstall-TODO.sh" 117 echo " $RUNCMD ${instcfg[PREFIX]}/bin/trustbridge-deinstall.sh"
117 118
118 echo "#################################################################################" 119 echo "#################################################################################"
119 getxt "Press enter to launch '%s'\n" "${instcfg[PREFIX]}/bin/trustbridge" 120 getxt "Press enter to launch '%s'\n" "${instcfg[PREFIX]}/bin/trustbridge"
120 if [ $UPDATE -eq 0 ]; then 121 if [ $UPDATE -eq 0 ]; then
121 read 122 read

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