diff options
author | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-07-31 18:50:57 +0800 |
---|---|---|
committer | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-07-31 18:50:57 +0800 |
commit | 8c52b32609db21747e1288a93eb8908be93bfd06 (patch) | |
tree | f3c92478d25e6da200566e6b3cdd99877adf3601 /x11/libgnome/files/pkg-deinstall.in | |
parent | f072d733c74c1d35b87c7c6afe74af9240953b0f (diff) | |
download | marcuscom-ports-8c52b32609db21747e1288a93eb8908be93bfd06.tar marcuscom-ports-8c52b32609db21747e1288a93eb8908be93bfd06.tar.gz marcuscom-ports-8c52b32609db21747e1288a93eb8908be93bfd06.tar.bz2 marcuscom-ports-8c52b32609db21747e1288a93eb8908be93bfd06.tar.lz marcuscom-ports-8c52b32609db21747e1288a93eb8908be93bfd06.tar.xz marcuscom-ports-8c52b32609db21747e1288a93eb8908be93bfd06.tar.zst marcuscom-ports-8c52b32609db21747e1288a93eb8908be93bfd06.zip |
Update to 2.27.5.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@12550 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/libgnome/files/pkg-deinstall.in')
-rw-r--r-- | x11/libgnome/files/pkg-deinstall.in | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/x11/libgnome/files/pkg-deinstall.in b/x11/libgnome/files/pkg-deinstall.in new file mode 100644 index 000000000..fb4ecfd31 --- /dev/null +++ b/x11/libgnome/files/pkg-deinstall.in @@ -0,0 +1,20 @@ +#!/bin/sh +# +# $FreeBSD: ports/x11/libgnome/files/pkg-deinstall.in,v 1.9 2009/04/10 05:56:19 marcus Exp $ +# $MCom: ports/x11/libgnome/files/pkg-deinstall.in,v 1.20 2009/04/09 03:24:10 mezz Exp $ +# +# Restore gconf keys of gnomevfs2. + +if [ "$2" != "POST-DEINSTALL" ]; then + exit 0 +fi + +SCHEMAS=%%LOCALBASE%%/etc/gconf/schemas/desktop_default_applications.schemas + +if [ -f ${SCHEMAS} ]; then + env GCONF_CONFIG_SOURCE=xml::%%LOCALBASE%%/etc/gconf/gconf.xml.defaults \ + %%LOCALBASE%%/bin/gconftool-2 --makefile-install-rule ${SCHEMAS} \ + > /dev/null || /usr/bin/true +fi + +exit 0 |