1 |
#!/bin/sh |
2 |
# |
3 |
# $FreeBSD: ports/devel/gnome-vfs/pkg-deinstall.in,v 1.10 2009/01/10 05:21:21 marcus Exp $ |
4 |
# $MCom: ports/devel/gnome-vfs/pkg-deinstall.in,v 1.20 2008/08/06 04:22:49 mezz Exp $ |
5 |
# |
6 |
# Restore gconf keys of libgnome. |
7 |
|
8 |
if [ "$2" != "POST-DEINSTALL" ]; then |
9 |
exit 0 |
10 |
fi |
11 |
|
12 |
SCHEMAS=%%LOCALBASE%%/etc/gconf/schemas/desktop_gnome_applications_terminal.schemas |
13 |
|
14 |
if [ -f ${SCHEMAS} ]; then |
15 |
env GCONF_CONFIG_SOURCE=xml::%%LOCALBASE%%/etc/gconf/gconf.xml.defaults \ |
16 |
%%LOCALBASE%%/bin/gconftool-2 --makefile-install-rule ${SCHEMAS} \ |
17 |
> /dev/null || /usr/bin/true |
18 |
fi |
19 |
|
20 |
exit 0 |
21 |
|