Sophie

Sophie

distrib > Mageia > 9 > armv7hl > by-pkgid > e7911dfa516ad41c58394b5af3637a4a > scriptlet

fluxbox-1.3.7-9.20220418.1.mga9.armv7hl.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