diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-06 14:11:06 +0000 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-06 14:11:06 +0000 |
commit | 2bfc9d607ef5fad85db6551531432edeff3ddb89 (patch) | |
tree | e6276a9d700bed7da7846a038166f45eef54b102 /debian/lunzip.postinst | |
parent | Adding debian version 1.2-2. (diff) | |
download | lunzip-2bfc9d607ef5fad85db6551531432edeff3ddb89.tar.xz lunzip-2bfc9d607ef5fad85db6551531432edeff3ddb89.zip |
Adding debian version 1.2-3.debian/1.2-3
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'debian/lunzip.postinst')
-rw-r--r-- | debian/lunzip.postinst | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/lunzip.postinst b/debian/lunzip.postinst new file mode 100644 index 0000000..4ed0891 --- /dev/null +++ b/debian/lunzip.postinst @@ -0,0 +1,24 @@ +#!/bin/sh + +set -e + +case "${1}" in + configure) + update-alternatives --quiet \ + --install /usr/bin/lzip lzip /usr/bin/lzip.decompressor 10 \ + --slave /usr/share/man/man1/lzip.1.gz lzip.1.gz /usr/share/man/man1/lzip.decompressor.1.gz + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`${1}'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 |