diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2018-08-03 02:09:59 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2018-08-03 02:09:59 +0000 |
commit | f61cdb02007e8f26f50a30721ad973f25ce3ef7d (patch) | |
tree | 060a53187ac8d5e34a2f331d345f13ce852375c0 | |
parent | Updating to standards version 4.2.0. (diff) | |
download | zutils-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>
Diffstat (limited to '')
-rwxr-xr-x | debian/zutils.preinst | 11 |
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) ;; |