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