summaryrefslogtreecommitdiff
path: root/misc/fcitx/doinst.sh
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2017-08-30 21:05:50 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-10-11 06:19:58 +0700
commit5f7670e209408c8579d13ab1092cfc4ccee408ca (patch)
treea2e626b98d32e9f2f400945ef61a7563ca25f689 /misc/fcitx/doinst.sh
parent79607a1a414349834c8fe243a200291ce5254cbf (diff)
downloadslackbuilds-5f7670e209408c8579d13ab1092cfc4ccee408ca.tar.gz
misc/fcitx: Updated for version 4.2.9.4.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'misc/fcitx/doinst.sh')
-rw-r--r--misc/fcitx/doinst.sh8
1 files changed, 2 insertions, 6 deletions
diff --git a/misc/fcitx/doinst.sh b/misc/fcitx/doinst.sh
index 5660b63b8c..dff5a780c3 100644
--- a/misc/fcitx/doinst.sh
+++ b/misc/fcitx/doinst.sh
@@ -2,12 +2,8 @@ if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
-if [ -x /usr/bin/gtk-query-immodules-2.0 ]; then
- /usr/bin/gtk-query-immodules-2.0 --update-cache
-fi
-
-if [ -x /usr/bin/gtk-query-immodules-3.0 ]; then
- /usr/bin/gtk-query-immodules-3.0 --update-cache
+if [ -x usr/bin/update-gtk-immodules ]; then
+ chroot . /usr/bin/update-gtk-immodules --verbose 1>/dev/null
fi
if [ -x /usr/bin/update-mime-database ]; then