diff options
Diffstat (limited to 'source/x/fcitx/doinst.sh')
-rw-r--r-- | source/x/fcitx/doinst.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/source/x/fcitx/doinst.sh b/source/x/fcitx/doinst.sh new file mode 100644 index 00000000..c9d0cf4d --- /dev/null +++ b/source/x/fcitx/doinst.sh @@ -0,0 +1,12 @@ +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/update-mime-database ]; then + /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1 +fi + +if [ -x usr/bin/update-gtk-immodules ]; then + chroot . /usr/bin/update-gtk-immodules --verbose 1>/dev/null +fi + |