summaryrefslogtreecommitdiff
path: root/community/fcitx/fcitx.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/fcitx/fcitx.install')
-rw-r--r--community/fcitx/fcitx.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/community/fcitx/fcitx.install b/community/fcitx/fcitx.install
new file mode 100644
index 000000000..59e1d7012
--- /dev/null
+++ b/community/fcitx/fcitx.install
@@ -0,0 +1,14 @@
+post_upgrade() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ update-desktop-database -q
+ update-mime-database usr/share/mime &> /dev/null
+}
+
+post_install() {
+ echo "You should at least install one of kcm-fcitx (For Qt/KDE users) or fcitx-configtool (For GTK+ users) to enable Fcitx configuration GUI."
+ post_upgrade
+}
+
+post_remove() {
+ post_upgrade
+}