2025-02-20 20:14:40 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
case "${1}" in
|
|
|
|
configure)
|
2025-02-20 20:28:35 +01:00
|
|
|
update-alternatives --quiet \
|
2025-02-20 20:48:06 +01:00
|
|
|
--install /usr/bin/lzip lzip /usr/bin/lzip.minilzip 1000 \
|
2025-02-20 20:46:31 +01:00
|
|
|
--slave /usr/share/man/man1/lzip.1.gz lzip.1.gz /usr/share/man/man1/lzip.minilzip.1.gz
|
2025-02-20 20:14:40 +01:00
|
|
|
;;
|
|
|
|
|
|
|
|
abort-upgrade|abort-remove|abort-deconfigure)
|
|
|
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
*)
|
|
|
|
echo "postinst called with unknown argument \`${1}'" >&2
|
|
|
|
exit 1
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
#DEBHELPER#
|
|
|
|
|
|
|
|
exit 0
|