POSTIN
/bin/sh
#blackbox-alternatives
update-alternatives --install /usr/bin/bsetroot bsetroot /usr/bin/bsetroot-fluxbox 20
POSTUN
/bin/sh
# Remove bsetroot-alternatives
if [ "$1" = 0 ]; then
update-alternatives --remove bsetroot /usr/bin/bsetroot-fluxbox
fi
POSTTRANS
/bin/sh
# (ovitters) In posttrans, $1 is always equal to 1, even in the upgrade case.
# So just run this always:
if [ -e /usr/share/xsessions/16Fluxbox.desktop ]; then
rm -rf /usr/share/xsessions/16Fluxbox.desktop
fi
if [ -e /etc/X11/dm/Sessions/16Fluxbox.desktop ]; then
rm -rf /etc/X11/dm/Sessions/16Fluxbox.desktop
fi