1
0
Fork 0

Skipping zcat for now (Closes: #902936, #903931).

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-24 05:56:24 +01:00
parent 3c1cfb3717
commit 720aca52c4
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
5 changed files with 30 additions and 8 deletions

31
debian/zutils.postinst vendored Executable file
View file

@ -0,0 +1,31 @@
#!/bin/sh
set -e
case "${1}" in
configure)
# restoring zcat (#902936, #903931)
for FILE in zcat
do if [ ! -e /bin/${FILE}.gzip ]
then
continue
fi
dpkg-divert --package zutils --quiet --remove --rename --divert /bin/${FILE}.gzip /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
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`${1}'" >&2
exit 1
;;
esac
#DEBHELPER#
exit 0