summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2018-08-03 02:09:59 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2018-08-03 02:09:59 +0000
commitf61cdb02007e8f26f50a30721ad973f25ce3ef7d (patch)
tree060a53187ac8d5e34a2f331d345f13ce852375c0
parentUpdating to standards version 4.2.0. (diff)
downloadzutils-f61cdb02007e8f26f50a30721ad973f25ce3ef7d.tar.xz
zutils-f61cdb02007e8f26f50a30721ad973f25ce3ef7d.zip
Handling upgrade from 1.7-2 where zcat was temporarily skipped for #902936 (Closes: #905306).
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rwxr-xr-xdebian/zutils.preinst11
1 files changed, 10 insertions, 1 deletions
diff --git a/debian/zutils.preinst b/debian/zutils.preinst
index b9aa4a5..2286dd9 100755
--- a/debian/zutils.preinst
+++ b/debian/zutils.preinst
@@ -11,7 +11,16 @@ case "${1}" in
done
;;
- upgrade|abort-upgrade)
+ upgrade)
+ # upgrading from zutils 1.7-2
+ if [ ! -e /bin/zcat.gzip ]
+ then
+ dpkg-divert --package zutils --quiet --add --rename --divert /bin/zcat.gzip /bin/zcat
+ dpkg-divert --package zutils --quiet --add --rename --divert /usr/share/man/man1/zcat.gzip.1.gz /usr/share/man/man1/zcat.1.gz
+ fi
+ ;;
+
+ abort-upgrade)
;;