summaryrefslogtreecommitdiff
path: root/extra/fcitx/fcitx.install
diff options
context:
space:
mode:
Diffstat (limited to 'extra/fcitx/fcitx.install')
-rw-r--r--extra/fcitx/fcitx.install5
1 files changed, 3 insertions, 2 deletions
diff --git a/extra/fcitx/fcitx.install b/extra/fcitx/fcitx.install
index 316bccffe..7f156e002 100644
--- a/extra/fcitx/fcitx.install
+++ b/extra/fcitx/fcitx.install
@@ -1,6 +1,7 @@
post_install() {
- [[ -x usr/bin/gtk-update-icon-cache ]] && gtk-update-icon-cache -q -t -f usr/share/icons/hicolor || true
- [[ -x usr/bin/update-desktop-database ]] && update-desktop-database -q || true
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ update-desktop-database -q
+ update-mime-database usr/share/mime &> /dev/null
}
post_upgrade() {