Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > contrib-release > by-pkgid > 23c6b5c64f7ef3ad00db8d969effa661 > scriptlet

gnochm-0.9.11-1mdv2008.1.x86_64.rpm

PREUN

/bin/sh
if [ $1 -eq 0 ]; then
  GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-uninstall-rule /etc/gconf/schemas/gnochm.schemas > /dev/null
fi

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/bin/update-menus ]; then /usr/bin/update-menus || true ; fi 

GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-install-rule /etc/gconf/schemas/gnochm.schemas > /dev/null
if [ -x /usr/bin/scrollkeeper-update ]; then /usr/bin/scrollkeeper-update -q; fi
touch /usr/share/gnome/help/gnochm/C/gnochm.html
if [ -x /usr/bin/yelp-pregenerate ]; then /usr/bin/yelp-pregenerate /usr/share/gnome/help/gnochm/*/gnochm.xml > /dev/null; fi
if [ -x /usr/bin/update-mime-database ]; then 
/usr/bin/update-mime-database /usr/share/mime > /dev/null || true ; fi

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 [ "$1" = "0" -a -x /usr/bin/update-menus ]; then /usr/bin/update-menus || true ; fi 

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