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.install12
1 files changed, 12 insertions, 0 deletions
diff --git a/extra/fcitx/fcitx.install b/extra/fcitx/fcitx.install
new file mode 100644
index 000000000..316bccffe
--- /dev/null
+++ b/extra/fcitx/fcitx.install
@@ -0,0 +1,12 @@
+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
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}