[PATCH] Remove TrustBridge.ini on deinstallation
Wald Commits
scm-commit at wald.intevation.org
Thu Jul 3 11:25:43 CEST 2014
# HG changeset patch
# User Sascha Wilde <wilde at intevation.de>
# Date 1404379519 -7200
# Node ID 62af7d247430324969fe334b7043afeffa076af2
# Parent efc2d16ab51428e7d56adcf69e1553c6f9c9147f
Remove TrustBridge.ini on deinstallation.
diff -r efc2d16ab514 -r 62af7d247430 packaging/linux-installer.inc.in
--- a/packaging/linux-installer.inc.in Thu Jul 03 11:01:33 2014 +0200
+++ b/packaging/linux-installer.inc.in Thu Jul 03 11:25:19 2014 +0200
@@ -209,12 +209,16 @@
deinstall_etc()
{
# FIXME: delete all files created by the application.
+ local tbcfg_file="${instcfg_path}/TrustBridge.ini"
+
echo "Removing certificate lists from: ${instdata_path}:"
for file in "$instdata_path"/list-*.txt ; do
echo "Deleting $file ..."
rm "$file"
done
rm_empty_dirs "$instdata_path"
+ echo "Removing TrustBridge configuration: $tbcfg_file ..."
+ rm "$tbcfg_file"
echo "Removing installation configuration: $instcfg_file ..."
rm "$instcfg_file"
rm_empty_dirs "$instcfg_path"
More information about the Trustbridge-commits
mailing list