aboutsummaryrefslogtreecommitdiff
path: root/misc/ibus-chewing/doinst.sh
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2017-10-07 12:18:37 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-10-11 06:20:01 +0700
commit7fce69d6f557d1d5cf6d977afdce49f8bfb5fd1a (patch)
tree02ddf42467aa8d815af45929ac04a0ea54cdc30c /misc/ibus-chewing/doinst.sh
parentedd184fa6bf648b966b14f339561d056c88d6b3b (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.sh13
1 files changed, 5 insertions, 8 deletions
diff --git a/misc/ibus-chewing/doinst.sh b/misc/ibus-chewing/doinst.sh
index b6a7713475b70..56b9e419c11ed 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