projects
/
onak.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17fdc00
)
Fix cleanup of statoverrides when purging package.
author
Jonathan McDowell
<noodles@earth.li>
Tue, 14 Sep 2004 18:17:51 +0000
(18:17 +0000)
committer
Jonathan McDowell
<noodles@earth.li>
Tue, 14 Sep 2004 18:17:51 +0000
(18:17 +0000)
Purging of the package failed due to incorrect use of dpkg-statoverride;
this fixes that.
debian/postrm
patch
|
blob
|
history
diff --git
a/debian/postrm
b/debian/postrm
index 263933297fcfc08efec10ea341449e4dabd8d37d..c8ef7178cd1b2c942572c6ddf8c3fd81981ca5c1 100644
(file)
--- a/
debian/postrm
+++ b/
debian/postrm
@@
-4,6
+4,8
@@
set -e
if [ "$1" = "purge" ]; then
if dpkg-statoverride --list /usr/lib/cgi-bin/pks/\* >/dev/null; then
- dpkg-statoverride --remove
+ for i in $(dpkg-statoverride --list /usr/lib/cgi-bin/pks/\* | cut -d " " -f 4); do
+ dpkg-statoverride --remove $i
+ done
fi
fi