Sophie

Sophie

distrib > Mageia > cauldron > i586 > by-pkgid > 478260232c40734916cea848f9b6e1c4 > scriptlet

fluxbox-1.3.7-9.20220418.1.mga9.i586.rpm

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