4 schemas=(`pacman -Ql $pkgname | grep 'gconf/schemas/.*schemas$' | awk '{ print $2 }'`)
5 scrolls=(`pacman -Ql $pkgname | grep 'share/omf/.*\.omf$' | awk '{ print $2 }'`)
7 export GCONF_CONFIG_SOURCE=`usr/bin/gconftool-2 --get-default-source`
8 for schema in "${schemas[@]}" ; do
9 opt/gnome/bin/gconftool-2 --makefile-install-rule "$schema" >/dev/null 2>&1
12 for scroll in "${scrolls[@]}" ; do
13 scrollkeeper-install -q -p var/lib/scrollkeeper "$scroll"
16 kill -s HUP `pidof /usr/bin/gconfd-2` > /dev/null 2>&1
17 update-desktop-database -q
29 schemas=(`pacman -Ql $pkgname | grep 'gconf/schemas/.*schemas$' | awk '{ print $2 }'`)
30 scrolls=(`pacman -Ql $pkgname | grep 'share/omf/.*\.omf$' | awk '{ print $2 }'`)
32 export GCONF_CONFIG_SOURCE=`usr/bin/gconftool-2 --get-default-source`
33 for schema in "${schemas[@]}" ; do
34 opt/gnome/bin/gconftool-2 --makefile-uninstall-rule "$schema" >/dev/null 2>&1
37 for scroll in "${scrolls[@]}" ; do
38 scrollkeeper-uninstall -q -p var/lib/scrollkeeper "$scroll"
41 kill -s HUP `pidof /usr/bin/gconfd-2` >/dev/null 2>&1
45 update-desktop-database -q