Mercurial > trustbridge
diff packaging/linux-installer.inc.in @ 730:62af7d247430
Remove TrustBridge.ini on deinstallation.
author | Sascha Wilde <wilde@intevation.de> |
---|---|
date | Thu, 03 Jul 2014 11:25:19 +0200 |
parents | efc2d16ab514 |
children | ea8d13590cbd |
line wrap: on
line diff
--- 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"