summaryrefslogtreecommitdiff
path: root/extra/fcitx/fcitx.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-02-05 23:15:10 +0000
committerroot <root@rshg054.dnsready.net>2012-02-05 23:15:10 +0000
commitbdb5b3e66f6afa586ea147f69af5e4ba388f7615 (patch)
tree4374282e7b40f1decf8ecb78f004114498208361 /extra/fcitx/fcitx.install
parent359d940358dec836dd0acfe9d9caf0b1ff0a97fe (diff)
Sun Feb 5 23:15:10 UTC 2012
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() {