1 # Contributor: DonVla <donvla@users.sourceforge.net>
7 export GCONF_CONFIG_SOURCE=$(usr/bin/gconftool-2 --get-default-source)
8 usr/bin/gconftool-2 --makefile-install-rule usr/share/gconf/schemas/${_pkgname}.schemas >/dev/null
20 if [ -f usr/share/gconf/schemas/${_pkgname}.schemas ]; then
21 _schemas=(usr/share/gconf/schemas/${_pkgname}.schemas)
22 elif [ -f opt/gnome/share/gconf/schemas/${_pkgname}.schemas ]; then
23 _schemas=(opt/gnome/share/gconf/schemas/${_pkgname}.schemas)
25 _schemas=( $(pacman -Ql ${_pkgname} | grep 'gconf/schemas/.*schemas$' | awk '{ print $2 }') )
27 export GCONF_CONFIG_SOURCE=$(usr/bin/gconftool-2 --get-default-source)
29 usr/bin/gconftool-2 --makefile-uninstall-rule ${_schemas[@]} >/dev/null