diff options
author | Heinz Wiesinger <pprkut@slackbuilds.org> | 2017-10-07 12:18:37 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-10-11 06:20:01 +0700 |
commit | 7fce69d6f557d1d5cf6d977afdce49f8bfb5fd1a (patch) | |
tree | 02ddf42467aa8d815af45929ac04a0ea54cdc30c /misc/ibus-chewing/doinst.sh | |
parent | edd184fa6bf648b966b14f339561d056c88d6b3b (diff) |
misc/ibus-chewing: Updated for version 1.6.1.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
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 b6a7713475b7..56b9e419c11e 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 |