Sophie

Sophie

distrib > Mandriva > 2008.1 > i586 > media > contrib-updates > by-pkgid > a6a94ffd37ecdc2fae63209efbe14d3d > scriptlet

blackbox-0.70.1-9mdv2008.1.i586.rpm

POSTIN

/bin/sh
if [ -x /usr/bin/update-desktop-database ]; then 
/usr/bin/update-desktop-database /usr/share/applications > /dev/null || 
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-blackbox 10

POSTUN

/bin/sh
if [ "$1" = "0" -a -x /usr/bin/update-desktop-database ]; then 
/usr/bin/update-desktop-database /usr/share/applications > /dev/null || true ; fi 

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


# Remove bsetroot-alternatives
if [ "$1" = 0 ]; then
update-alternatives --remove bsetroot /usr/bin/bsetroot-blackbox
fi