1
0
Fork 0
lzlib/debian/liblz1.postinst
Daniel Baumann 23acc2c1bd
Including minilzip.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-20 20:15:18 +01:00

24 lines
383 B
Bash

#!/bin/sh
set -e
case "${1}" in
configure)
update-alternatives --quiet \
--install /usr/bin/lzip lzip /usr/bin/lzip.mini 75 \
--slave /usr/share/man/man1/lzip.1.gz lzip.1.gz /usr/share/man/man1/lzip.mini.1.gz
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`${1}'" >&2
exit 1
;;
esac
#DEBHELPER#
exit 0