summaryrefslogtreecommitdiffstats
path: root/devel/gnome-vfs/pkg-deinstall.in
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-05-18 09:55:59 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-05-18 09:55:59 +0800
commit399e1f06cef3941ffc7dc4a6e8763bb328b5ddc1 (patch)
tree8131aaf191c68fb2bc6f4716cf536540ea61efc8 /devel/gnome-vfs/pkg-deinstall.in
parent21cd2422943731b37ba5cbda0722b752a79f83c5 (diff)
downloadmarcuscom-ports-399e1f06cef3941ffc7dc4a6e8763bb328b5ddc1.tar
marcuscom-ports-399e1f06cef3941ffc7dc4a6e8763bb328b5ddc1.tar.gz
marcuscom-ports-399e1f06cef3941ffc7dc4a6e8763bb328b5ddc1.tar.bz2
marcuscom-ports-399e1f06cef3941ffc7dc4a6e8763bb328b5ddc1.tar.lz
marcuscom-ports-399e1f06cef3941ffc7dc4a6e8763bb328b5ddc1.tar.xz
marcuscom-ports-399e1f06cef3941ffc7dc4a6e8763bb328b5ddc1.tar.zst
marcuscom-ports-399e1f06cef3941ffc7dc4a6e8763bb328b5ddc1.zip
- Update to 2.15.1
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6295 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/gnome-vfs/pkg-deinstall.in')
-rw-r--r--devel/gnome-vfs/pkg-deinstall.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/gnome-vfs/pkg-deinstall.in b/devel/gnome-vfs/pkg-deinstall.in
new file mode 100644
index 000000000..f1b405661
--- /dev/null
+++ b/devel/gnome-vfs/pkg-deinstall.in
@@ -0,0 +1,20 @@
+#!/bin/sh
+#
+# $FreeBSD$
+# $MCom: ports/devel/gnomevfs2/pkg-deinstall.in,v 1.7 2005/11/15 06:12:28 marcus Exp $
+#
+# Restore gconf keys of libgnome.
+
+if [ "$2" != "POST-DEINSTALL" ]; then
+ exit 0
+fi
+
+SCHEMAS=%%X11BASE%%/etc/gconf/schemas/desktop_gnome_applications_terminal.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