PREUN
/bin/sh
if [ "$1" = "0" ]; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
SCHEMAS="mcatalog.schemas"
for S in $SCHEMAS; do
gconftool-2 --makefile-uninstall-rule /etc/gconf/schemas/$S >/dev/null
done
fi
POSTIN
/bin/sh
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
SCHEMAS="mcatalog.schemas"
for S in $SCHEMAS; do
gconftool-2 --makefile-install-rule /etc/gconf/schemas/$S >/dev/null
done
if [ -x /usr/bin/update-menus ]; then /usr/bin/update-menus || true ; fi
#if [ -x /usr/bin/mono ]; then
# mono --aot -O=all,-shared /usr/lib/mcatalog/mcatalog.exe > /dev/null
#fi
POSTUN
/bin/sh
if [ "$1" = "0" -a -x /usr/bin/update-menus ]; then /usr/bin/update-menus || true ; fi