[PATCH 2 of 3] Add [y/n] indicator to uninstall question

Wald Commits scm-commit at wald.intevation.org
Fri Jul 11 18:31:15 CEST 2014


# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1405096236 -7200
# Node ID 87387c5786ec10dc5f283ab097d718ee4d171b0a
# Parent  d2996be40de4aeb7b7c467eeb504b25fcf252309
Add [y/n] indicator to uninstall question

diff -r d2996be40de4 -r 87387c5786ec packaging/linux-installer.inc.in
--- a/packaging/linux-installer.inc.in	Fri Jul 11 18:30:05 2014 +0200
+++ b/packaging/linux-installer.inc.in	Fri Jul 11 18:30:36 2014 +0200
@@ -270,7 +270,7 @@
 deinstall()
 {
   if [ "${oldinstcfg[PREFIX]}" ] ; then
-      echo "Really deinstall TrustBridge from '${oldinstcfg[PREFIX]}'?"
+      echo "Really deinstall TrustBridge from '${oldinstcfg[PREFIX]}'? [y/n]"
       yorn || exit 0
       deinstall_certs
       local deinstdir="${oldinstcfg[PREFIX]}/bin"


More information about the Trustbridge-commits mailing list