Mercurial > trustbridge
comparison packaging/linux-installer-uninstall.inc @ 1249:014586ef8a84
(issue68) Package licenses
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Thu, 25 Sep 2014 12:43:56 +0200 |
parents | 55c13de88b1e |
children |
comparison
equal
deleted
inserted
replaced
1248:9f5893faa60b | 1249:014586ef8a84 |
---|---|
132 rm "$path" || getxt >&2 "WARNING: Could not delete: '%s'!\n" "$path" | 132 rm "$path" || getxt >&2 "WARNING: Could not delete: '%s'!\n" "$path" |
133 fi | 133 fi |
134 done | 134 done |
135 rm_empty_dirs "$deinstdir" | 135 rm_empty_dirs "$deinstdir" |
136 | 136 |
137 # Licenses | |
138 deinstdir="${oldinstcfg[PREFIX]}/share/doc/trustbridge/licenses" | |
139 for file in $LICENSENAMES; do | |
140 local path="${deinstdir}/$file" | |
141 if [ -f "$path" ]; then | |
142 getxt "Deleting '%s' ...\n" "$path" | |
143 rm "$path" || getxt >&2 "WARNING: Could not delete: '%s'!\n" "$path" | |
144 fi | |
145 done | |
146 rm_empty_dirs "$deinstdir" | |
147 | |
137 # The actual html | 148 # The actual html |
138 deinstdir="${oldinstcfg[PREFIX]}/share/doc/trustbridge" | 149 deinstdir="${oldinstcfg[PREFIX]}/share/doc/trustbridge" |
139 for file in $HELPNAMES; do | 150 for file in $HELPNAMES; do |
140 local path="${deinstdir}/$file" | 151 local path="${deinstdir}/$file" |
141 if [ -f "$path" ]; then | 152 if [ -f "$path" ]; then |