23 lines
314 B
Bash
23 lines
314 B
Bash
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
case "${1}" in
|
|
configure)
|
|
update-alternatives --quiet \
|
|
--install /usr/bin/lzip lzip /usr/bin/lzip.educational-decompressor 1
|
|
;;
|
|
|
|
abort-upgrade|abort-remove|abort-deconfigure)
|
|
|
|
;;
|
|
|
|
*)
|
|
echo "postinst called with unknown argument \`${1}'" >&2
|
|
exit 1
|
|
;;
|
|
esac
|
|
|
|
#DEBHELPER#
|
|
|
|
exit 0
|