summaryrefslogtreecommitdiffstats
path: root/debian/zutils.postrm
diff options
context:
space:
mode:
Diffstat (limited to 'debian/zutils.postrm')
-rwxr-xr-xdebian/zutils.postrm3
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/zutils.postrm b/debian/zutils.postrm
index b9df41b..e9ad406 100755
--- a/debian/zutils.postrm
+++ b/debian/zutils.postrm
@@ -6,7 +6,8 @@ case "${1}" in
remove)
for FILE in zcat zcmp zdiff zegrep zfgrep zgrep
do
- dpkg-divert --package zutils --quiet --remove --rename --divert /bin/${FILE}.gzip /bin/${FILE}
+ dpkg-divert --package zutils --quiet --remove --rename --divert "/usr/bin/$FILE.gzip" "/usr/bin/$FILE"
+ dpkg-divert --package zutils --quiet --remove --rename --divert "/bin/$FILE.gzip.usr-is-merged" "/bin/$FILE"
dpkg-divert --package zutils --quiet --remove --rename --divert /usr/share/man/man1/${FILE}.gzip.1.gz /usr/share/man/man1/${FILE}.1.gz
done
;;