diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2018-09-15 13:25:49 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2018-09-15 13:42:54 +0000 |
commit | b0d6528f69e6995955515b4bf4fd89a54ae2d9d9 (patch) | |
tree | b3579c761cb3c87402ddc7c7079982d4cefb6959 /debian/lunzip.postinst | |
parent | Releasing debian version 1.10-3. (diff) | |
download | lunzip-b0d6528f69e6995955515b4bf4fd89a54ae2d9d9.tar.xz lunzip-b0d6528f69e6995955515b4bf4fd89a54ae2d9d9.zip |
Adding lzip-decompressor alternatives.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/lunzip.postinst')
-rwxr-xr-x | debian/lunzip.postinst | 6 |
1 files changed, 6 insertions, 0 deletions
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) |