comparison 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
comparison
equal deleted inserted replaced
729:efc2d16ab514 730:62af7d247430
207 } 207 }
208 208
209 deinstall_etc() 209 deinstall_etc()
210 { 210 {
211 # FIXME: delete all files created by the application. 211 # FIXME: delete all files created by the application.
212 local tbcfg_file="${instcfg_path}/TrustBridge.ini"
213
212 echo "Removing certificate lists from: ${instdata_path}:" 214 echo "Removing certificate lists from: ${instdata_path}:"
213 for file in "$instdata_path"/list-*.txt ; do 215 for file in "$instdata_path"/list-*.txt ; do
214 echo "Deleting $file ..." 216 echo "Deleting $file ..."
215 rm "$file" 217 rm "$file"
216 done 218 done
217 rm_empty_dirs "$instdata_path" 219 rm_empty_dirs "$instdata_path"
220 echo "Removing TrustBridge configuration: $tbcfg_file ..."
221 rm "$tbcfg_file"
218 echo "Removing installation configuration: $instcfg_file ..." 222 echo "Removing installation configuration: $instcfg_file ..."
219 rm "$instcfg_file" 223 rm "$instcfg_file"
220 rm_empty_dirs "$instcfg_path" 224 rm_empty_dirs "$instcfg_path"
221 } 225 }
222 226

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