1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/devel/gnome-vfs/pkg-deinstall.in
Jeremy Messenger 3f7a57ceaf devel/gconf2
Remove the post-install/pkg-install, since gnomehier is taking care of
	it.

devel/gnomevfs2
	Add pkg-install and pkg-deinstall to restore libgnome's gconf key if
	libgnome's .schemas exists. This fix the plist complained by pointyhat.

	Why restore libgnome's gconf key during the installtion if it exists?
	Because, libgnome always depend on gnomevfs2 so make sure the libgnome
	is still in the top when we either reinstall or upgrade gnomevfs2.

misc/gnomehier
	Remove the etc/gconf/gconf.xml.defaults/*, since the gconftool is
	taking care of it. ie: GCONF_SCHEMAS

x11/libgnome
	Add pkg-deinstall to restore gnomevfs2's gconf key if gnomevfs2's
	schemas exists. This fix the plist complained by pointyhat. Also, this
	is a real fix for the weird keyboard problem when you uninstall
	libgnome without reinstall it.

Bump the PORTREVISION in all of four ports above to fix everything with gconf
keys stuff for plist. Those have been tested in the MarcusCom CVS, GNOME
tinderbox, and my tinderbox.
2005-01-29 20:21:04 +00:00

20 lines
402 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
# 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