Sophie

Sophie

distrib > Mandriva > 2007.1 > x86_64 > media > contrib-release > by-pkgid > ab13a0b9f5ff448a39945deac89c22b5 > scriptlet

gnochm-0.9.9-1mdv2007.1.noarch.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
/usr/bin/update-mime-database /usr/share/mime/

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" ]; then /usr/bin/update-mime-database /usr/share/mime; fi