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
6 update-desktop-database -q
18 if [ -f usr/share/gconf/schemas/${pkgname}.schemas ]; then
19 schemas=(usr/share/gconf/schemas/${pkgname}.schemas)
20 elif [ -f opt/gnome/share/gconf/schemas/${pkgname}.schemas ]; then
21 schemas=(opt/gnome/share/gconf/schemas/${pkgname}.schemas)
23 schemas=(`pacman -Ql $pkgname | grep 'gconf/schemas/.*schemas$' | awk '{ print $2 }'`)
25 export GCONF_CONFIG_SOURCE=`usr/bin/gconftool-2 --get-default-source`
27 usr/bin/gconftool-2 --makefile-uninstall-rule ${schemas[@]} >/dev/null
31 update-desktop-database -q