From b0d6528f69e6995955515b4bf4fd89a54ae2d9d9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 15 Sep 2018 15:25:49 +0200 Subject: Adding lzip-decompressor alternatives. Signed-off-by: Daniel Baumann --- debian/lunzip.postinst | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'debian/lunzip.postinst') diff --git a/debian/lunzip.postinst b/debian/lunzip.postinst index 9e7208e..4c02908 100755 --- a/debian/lunzip.postinst +++ b/debian/lunzip.postinst @@ -4,9 +4,15 @@ set -e case "${1}" in configure) + # lzip-alternative update-alternatives --quiet \ --install /usr/bin/lzip lzip /usr/bin/lzip.lunzip -1000 \ --slave /usr/share/man/man1/lzip.1.gz lzip.1.gz /usr/share/man/man1/lzip.lunzip.1.gz + + # lzip-decompressor + update-alternatives --quiet \ + --install /usr/bin/lzip-decompressor lzip-decompressor /usr/bin/lzip.lunzip -1000 \ + --slave /usr/share/man/man1/lzip-decompressor.1.gz lzip-decompressor.1.gz /usr/share/man/man1/lzip.lunzip.1.gz ;; abort-upgrade|abort-remove|abort-deconfigure) -- cgit v1.2.3