Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > contrib-release > by-pkgid > 211eab927b3fd5a0e697e97cc1bb71b9 > scriptlet

revelation-0.4.11-2mdv2007.1.x86_64.rpm

PREUN

/bin/sh
if [ "$1" = "0" -a -x /usr/bin/gconftool-2 ]; then 
export GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` && 
for SCHEMA in revelation ; do 
  /usr/bin/gconftool-2 --makefile-uninstall-rule  /etc/gconf/schemas/$SCHEMA.schemas > /dev/null || true 
done ; fi

POSTIN

/bin/sh
if [ -x /usr/bin/gconftool-2 ]; then 
export GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` &&  
for SCHEMA in revelation ; do 
  /usr/bin/gconftool-2 --makefile-install-rule /etc/gconf/schemas/$SCHEMA.schemas > /dev/null || true 
done ; fi 
if [ -x /usr/bin/update-desktop-database ]; then 
/usr/bin/update-desktop-database /usr/share/applications > /dev/null || 
true ; fi 

if [ -x /usr/bin/update-mime-database ]; then 
/usr/bin/update-mime-database /usr/share/mime > /dev/null || true ; fi 

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

POSTUN

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

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

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