From 58ed1616832cb82e3a4b2c9998d96e3de1b2b525 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 7 Nov 2015 10:57:10 +0100 Subject: Adding debian version 1.15~pre1-1. Signed-off-by: Daniel Baumann --- debian/lzip.postinst | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 debian/lzip.postinst (limited to 'debian/lzip.postinst') diff --git a/debian/lzip.postinst b/debian/lzip.postinst new file mode 100644 index 0000000..183b047 --- /dev/null +++ b/debian/lzip.postinst @@ -0,0 +1,25 @@ +#!/bin/sh + +set -e + +case "${1}" in + configure) + update-alternatives --quiet \ + --install /usr/bin/lzip lzip /usr/bin/lzip.not-parallel 100 \ + --slave /usr/share/info/lzip.info.gz lzip.info.gz /usr/share/info/lzip.not-parallel.info.gz \ + --slave /usr/share/man/man1/lzip.1.gz lzip.1.gz /usr/share/man/man1/lzip.not-parallel.1.gz + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`${1}'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 -- cgit v1.2.3