changeset 858:4dfb6f543a05

Only uninstall a list if it has been installed
author Andre Heinecke <andre.heinecke@intevation.de>
date Mon, 04 Aug 2014 15:06:33 +0200
parents 9bab4fc3a1fe
children df6f3b1cc41c
files packaging/linux-installer.inc.in
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/packaging/linux-installer.inc.in	Mon Aug 04 15:06:16 2014 +0200
+++ b/packaging/linux-installer.inc.in	Mon Aug 04 15:06:33 2014 +0200
@@ -256,7 +256,7 @@
 deinstall_certs()
 {
   local cinst="${oldinstcfg[PREFIX]}/bin/cinst"
-  local certlist=`ls 2>/dev/null -1  ${instdata_path}/list-*.txt | sort -nr | head -n 1`
+  local certlist=`ls 2>/dev/null -1  ${instdata_path}/list-installed.txt`
 
   getxt "Uninstalling certificates ...\n"
 

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