summaryrefslogtreecommitdiffstats
path: root/debian/xlunzip.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/xlunzip.postinst')
-rwxr-xr-xdebian/xlunzip.postinst7
1 files changed, 7 insertions, 0 deletions
diff --git a/debian/xlunzip.postinst b/debian/xlunzip.postinst
index 81d4508..c5f45c2 100755
--- a/debian/xlunzip.postinst
+++ b/debian/xlunzip.postinst
@@ -4,10 +4,17 @@ set -e
case "${1}" in
configure)
+ # lzip-alternative
update-alternatives --quiet \
--install /usr/bin/lzip lzip /usr/bin/lzip.xlunzip -3000 \
--slave /usr/share/info/lzip.info.gz lzip.info.gz /usr/share/info/lzip.xlunzip.info.gz \
--slave /usr/share/man/man1/lzip.1.gz lzip.1.gz /usr/share/man/man1/lzip.xlunzip.1.gz
+
+ # lzip-decompressor
+ update-alternatives --quiet \
+ --install /usr/bin/lzip-decompressor lzip-decompressor /usr/bin/lzip.xlunzip -3000 \
+ --slave /usr/share/info/lzip-decompressor.info.gz lzip-decompressor.info.gz /usr/share/info/lzip.xlunzip.info.gz \
+ --slave /usr/share/man/man1/lzip-decompressor.1.gz lzip-decompressor.1.gz /usr/share/man/man1/lzip.xlunzip.1.gz
;;
abort-upgrade|abort-remove|abort-deconfigure)