summaryrefslogtreecommitdiff
path: root/misc/fcitx/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'misc/fcitx/doinst.sh')
-rw-r--r--misc/fcitx/doinst.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/misc/fcitx/doinst.sh b/misc/fcitx/doinst.sh
index 9424ce43ff..a37b27518a 100644
--- a/misc/fcitx/doinst.sh
+++ b/misc/fcitx/doinst.sh
@@ -2,6 +2,14 @@ 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
+fi
+
if [ -x /usr/bin/update-mime-database ]; then
/usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi