summaryrefslogblamecommitdiffstats
path: root/x11/libgnome/pkg-deinstall.in
blob: 0ac463865c7f5c674705802c55e319d41294d9d8 (plain) (tree)


















                                                                               
#!/bin/sh
#
# $FreeBSD$
#
# Restore gconf keys of gnomevfs2.

if [ "$2" != "POST-DEINSTALL" ]; then
    exit 0
fi

SCHEMAS=%%X11BASE%%/etc/gconf/schemas/desktop_default_applications.schemas

if [ -f ${SCHEMAS} ]; then
    env GCONF_CONFIG_SOURCE=xml::%%X11BASE%%/etc/gconf/gconf.xml.defaults \
    %%X11BASE%%/bin/gconftool-2 --makefile-install-rule ${SCHEMAS} \
        > /dev/null || /usr/bin/true
fi

exit 0