1
0
Fork 0
pdlzip/debian/pdlzip.postinst
Daniel Baumann cb0a60453b
Making maintainer scripts executable in source tree.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-23 19:22:23 +01:00

24 lines
389 B
Bash
Executable file

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