Sophie

Sophie

distrib > Mandriva > 10.2 > i586 > media > contrib > by-pkgid > c84e6c2313eb43105a3730f00ab5c6b3 > scriptlet

gnochm-0.9.4-4mdk.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