Sophie

Sophie

distrib > Mandriva > 2006.0 > i586 > by-pkgid > 4773e6e5d3f9ab4d65da7221272d8982 > scriptlet

gnochm-0.9.5-1mdk.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-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-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