summaryrefslogtreecommitdiff
path: root/development/idea/doinst.sh
diff options
context:
space:
mode:
authorMario Antunes <mariolpantunes@gmail.com>2014-07-05 08:04:22 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-07-05 08:04:22 +0700
commitbcd2feeb41b807060023f5e609c1720ffea16ffc (patch)
treee3eacaf2ad858d5930116cf3d61bac305ed42a5d /development/idea/doinst.sh
parentb46b769505f16dd3cc1cf730a96c9dc8da2a0f01 (diff)
downloadslackbuilds-bcd2feeb41b807060023f5e609c1720ffea16ffc.tar.gz
development/idea: Added (Development IDE).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/idea/doinst.sh')
-rw-r--r--development/idea/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/development/idea/doinst.sh b/development/idea/doinst.sh
new file mode 100644
index 0000000000..066a16fb14
--- /dev/null
+++ b/development/idea/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