comparison packaging/linux-installer.inc.in @ 776:87387c5786ec

Add [y/n] indicator to uninstall question
author Andre Heinecke <andre.heinecke@intevation.de>
date Fri, 11 Jul 2014 18:30:36 +0200
parents d2996be40de4
children ca149bad8195
comparison
equal deleted inserted replaced
775:d2996be40de4 776:87387c5786ec
268 } 268 }
269 269
270 deinstall() 270 deinstall()
271 { 271 {
272 if [ "${oldinstcfg[PREFIX]}" ] ; then 272 if [ "${oldinstcfg[PREFIX]}" ] ; then
273 echo "Really deinstall TrustBridge from '${oldinstcfg[PREFIX]}'?" 273 echo "Really deinstall TrustBridge from '${oldinstcfg[PREFIX]}'? [y/n]"
274 yorn || exit 0 274 yorn || exit 0
275 deinstall_certs 275 deinstall_certs
276 local deinstdir="${oldinstcfg[PREFIX]}/bin" 276 local deinstdir="${oldinstcfg[PREFIX]}/bin"
277 echo "Deinstalling from '${oldinstcfg[PREFIX]}'." 277 echo "Deinstalling from '${oldinstcfg[PREFIX]}'."
278 for file in $BINNAMES ; do 278 for file in $BINNAMES ; do

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