pkg://xbuffy_3.3.bl.3-24_powerpc.deb:41450/postinst
info downloads
#! /bin/sh -e
case "$1" in
configure)
system=$(uname -s)
if [ "x$system" = xLinux ]; then
LED_PROGRAM="/usr/lib/xbuffy/led"
# Source debconf library.
. /usr/share/debconf/confmodule
db_get xbuffy/enable-led-support-query
if [ "$RET" = "true" ]; then
echo -n "Enabling LED blinking support..." >&2
chown root:root $LED_PROGRAM
chmod 4755 $LED_PROGRAM
else
echo -n "Disabling LED blinking support..." >&2
chmod 755 $LED_PROGRAM
fi
echo "done." >&2
fi
;;
abort-upgrade|abort-remove|abort-deconfigure)
exit 0
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 0
;;
esac
# Automatically added by dh_installmenu
if [ "$1" = "configure" ] && [ -x /usr/bin/update-menus ]; then update-menus ; fi
# End automatically added section