diff packaging/linux-installer.inc.in @ 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 adf7481291a4
children 3f23130b16b2
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/