diff options
Diffstat (limited to 'misc/fcitx/doinst.sh')
-rw-r--r-- | misc/fcitx/doinst.sh | 8 |
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 |