Sophie

Sophie

distrib > Mandriva > 2008.0 > x86_64 > media > main-backports > by-pkgid > 1817df12769282188eb10904379ce82f > scriptlet

fluxbox-1.0.0-3mdv2008.0.x86_64.rpm

POSTIN

/bin/sh
if [ -x /usr/bin/update-menus ]; then /usr/bin/update-menus || true ; fi 

if [ -x /usr/sbin/fndSession ]; then /usr/sbin/fndSession || true ; fi 


#blackbox-alternatives
update-alternatives --install /usr/bin/bsetroot bsetroot /usr/bin/bsetroot-fluxbox 20

#artwiz fontz
cd /usr/lib64/X11/fonts/fluxbox-artwiz-fonts
/usr/bin/mkfontdir
/usr/sbin/chkfontpath -q -a /usr/lib64/X11/fonts/fluxbox-artwiz-fonts:unscaled

POSTUN

/bin/sh
if [ "$1" = "0" -a -x /usr/bin/update-menus ]; then /usr/bin/update-menus || true ; fi 

if [ -x /usr/sbin/fndSession ]; then /usr/sbin/fndSession || true ; fi 


# Remove bsetroot-alternatives and artwizfonts from fontpath
if [ "$1" = 0 ]; then
    update-alternatives --remove bsetroot /usr/bin/bsetroot-fluxbox
fi