diff options
Diffstat (limited to 'debian/pdlzip.postinst')
-rw-r--r-- | debian/pdlzip.postinst | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/pdlzip.postinst b/debian/pdlzip.postinst new file mode 100644 index 0000000..58513cc --- /dev/null +++ b/debian/pdlzip.postinst @@ -0,0 +1,24 @@ +#!/bin/sh + +set -e + +case "${1}" in + configure) + update-alternatives --quiet \ + --install /usr/bin/lzip lzip /usr/bin/lzip.public-domain 20 \ + --slave /usr/share/man/man1/lzip.1.gz lzip.1.gz /usr/share/man/man1/lzip.public-domain.1.gz + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`${1}'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 |