1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
#!/bin/sh
set -e
. /usr/share/debconf/confmodule
unclutter_update_alternatives () {
update-alternatives --install /usr/bin/unclutter \
unclutter /usr/bin/unclutter-classic 10 \
--slave /usr/share/man/man1/unclutter.1.gz \
unclutter.1.gz /usr/share/man/man1/unclutter-classic.1.gz
}
case "${1}" in
configure|abort-upgrade|abort-remove|abort-deconfigure)
unclutter_update_alternatives
;;
*)
echo "postinst called with unknown argument \`${1}'" >&2
exit 1
;;
esac
#DEBHELPER#
exit 0
|