diff options
Diffstat (limited to 'misc/ibus-chewing/doinst.sh')
-rw-r--r-- | misc/ibus-chewing/doinst.sh | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/misc/ibus-chewing/doinst.sh b/misc/ibus-chewing/doinst.sh index b6a7713475..56b9e419c1 100644 --- a/misc/ibus-chewing/doinst.sh +++ b/misc/ibus-chewing/doinst.sh @@ -1,9 +1,6 @@ -schema_install() { - SCHEMA="$1" - GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults" \ - chroot . gconftool-2 --makefile-install-rule \ - /etc/gconf/schemas/$SCHEMA \ - 1>/dev/null -} +if [ -e usr/share/glib-2.0/schemas ]; then + if [ -x /usr/bin/glib-compile-schemas ]; then + /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1 + fi +fi -schema_install ibus-chewing.schemas |