4 export GCONF_CONFIG_SOURCE=`usr/bin/gconftool-2 --get-default-source`
5 usr/bin/gconftool-2 --makefile-install-rule usr/share/gconf/schemas/${pkgname}.schemas >/dev/null
17 if [ -f usr/share/gconf/schemas/${pkgname}.schemas ]; then
18 schemas=(usr/share/gconf/schemas/${pkgname}.schemas)
19 elif [ -f opt/gnome/share/gconf/schemas/${pkgname}.schemas ]; then
20 schemas=(opt/gnome/share/gconf/schemas/${pkgname}.schemas)
22 schemas=(`pacman -Ql $pkgname | grep 'gconf/schemas/.*schemas$' | awk '{ print $2 }'`)
24 export GCONF_CONFIG_SOURCE=`usr/bin/gconftool-2 --get-default-source`
26 usr/bin/gconftool-2 --makefile-uninstall-rule ${schemas[@]} >/dev/null