Removing lzd from lzip alternatives as it doesn't provide the '--test' parameter to verify compressed file integrity (which now is the base-line requirement for all lzip variants providing alternatives).
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
f900bc3aa0
commit
0073df3f8c
4 changed files with 0 additions and 70 deletions
4
debian/control
vendored
4
debian/control
vendored
|
@ -16,10 +16,6 @@ Architecture: any
|
||||||
Depends:
|
Depends:
|
||||||
${misc:Depends},
|
${misc:Depends},
|
||||||
${shlibs:Depends},
|
${shlibs:Depends},
|
||||||
Provides:
|
|
||||||
lzip-alternative,
|
|
||||||
lzip-compressor,
|
|
||||||
lzip-decompressor,
|
|
||||||
Description: Educational, lossless data compressor based on the LZMA algorithm
|
Description: Educational, lossless data compressor based on the LZMA algorithm
|
||||||
Lzip is a lossless data compressor based on the LZMA algorithm, with very safe
|
Lzip is a lossless data compressor based on the LZMA algorithm, with very safe
|
||||||
integrity checking and a user interface similar to the one of gzip or bzip2.
|
integrity checking and a user interface similar to the one of gzip or bzip2.
|
||||||
|
|
32
debian/lzd.postinst
vendored
32
debian/lzd.postinst
vendored
|
@ -1,32 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
case "${1}" in
|
|
||||||
configure)
|
|
||||||
# lzip-alternative
|
|
||||||
update-alternatives --quiet \
|
|
||||||
--install /usr/bin/lzip lzip /usr/bin/lzip.lzd -2000
|
|
||||||
|
|
||||||
# lzip-compressor
|
|
||||||
update-alternatives --quiet \
|
|
||||||
--install /usr/bin/lzip-compressor lzip-compressor /usr/bin/lzip.lzd -2000
|
|
||||||
|
|
||||||
# lzip-decompressor
|
|
||||||
update-alternatives --quiet \
|
|
||||||
--install /usr/bin/lzip-decompressor lzip-decompressor /usr/bin/lzip.lzd -2000
|
|
||||||
;;
|
|
||||||
|
|
||||||
abort-upgrade|abort-remove|abort-deconfigure)
|
|
||||||
|
|
||||||
;;
|
|
||||||
|
|
||||||
*)
|
|
||||||
echo "postinst called with unknown argument \`${1}'" >&2
|
|
||||||
exit 1
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
#DEBHELPER#
|
|
||||||
|
|
||||||
exit 0
|
|
29
debian/lzd.prerm
vendored
29
debian/lzd.prerm
vendored
|
@ -1,29 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
case "${1}" in
|
|
||||||
remove|upgrade|deconfigure)
|
|
||||||
# lzip-alternative
|
|
||||||
update-alternatives --quiet --remove lzip /usr/bin/lzip.lzd
|
|
||||||
|
|
||||||
# lzip-compressor
|
|
||||||
update-alternatives --quiet --remove lzip-compressor /usr/bin/lzip.lzd
|
|
||||||
|
|
||||||
# lzip-decompressor
|
|
||||||
update-alternatives --quiet --remove lzip-decompressor /usr/bin/lzip.lzd
|
|
||||||
;;
|
|
||||||
|
|
||||||
failed-upgrade)
|
|
||||||
|
|
||||||
;;
|
|
||||||
|
|
||||||
*)
|
|
||||||
echo "prerm called with unknown argument \`${1}'" >&2
|
|
||||||
exit 1
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
#DEBHELPER#
|
|
||||||
|
|
||||||
exit 0
|
|
5
debian/rules
vendored
5
debian/rules
vendored
|
@ -10,8 +10,3 @@ override_dh_auto_configure:
|
||||||
|
|
||||||
override_dh_auto_install:
|
override_dh_auto_install:
|
||||||
dh_auto_install -- DESTDIR=$(CURDIR)/debian/lzd
|
dh_auto_install -- DESTDIR=$(CURDIR)/debian/lzd
|
||||||
|
|
||||||
execute_after_dh_auto_install:
|
|
||||||
# update-alternatives
|
|
||||||
mv debian/lzd/usr/bin/lzd debian/lzd/usr/bin/lzip.lzd
|
|
||||||
ln -s /usr/bin/lzip.lzd debian/lzd/usr/bin/lzd
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue