aboutsummaryrefslogtreecommitdiff
path: root/misc/fcitx/doinst.sh
diff options
context:
space:
mode:
authorvvoody <vvoodywang@gmail.com>2011-12-15 11:04:15 -0600
committerNiels Horn <niels.horn@slackbuilds.org>2011-12-18 00:07:51 -0200
commitee0d9cbd32309d14b3a0368485b0353e60fc7fd6 (patch)
tree8b9b1c4032a21878519ef625961b52b05d87f887 /misc/fcitx/doinst.sh
parent0208d4932e2ad17940e48da746d2c8f14025d6c6 (diff)
misc/fcitx: Updated for version 4.1.2 (+new maintainer)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'misc/fcitx/doinst.sh')
-rw-r--r--misc/fcitx/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/misc/fcitx/doinst.sh b/misc/fcitx/doinst.sh
new file mode 100644
index 000000000000..9424ce43ff57
--- /dev/null
+++ b/misc/fcitx/doinst.sh
@@ -0,0 +1,13 @@
+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 [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi