aboutsummaryrefslogtreecommitdiff
path: root/development/jdk
diff options
context:
space:
mode:
Diffstat (limited to 'development/jdk')
-rw-r--r--development/jdk/jdk.SlackBuild16
1 files changed, 15 insertions, 1 deletions
diff --git a/development/jdk/jdk.SlackBuild b/development/jdk/jdk.SlackBuild
index 02cb9fb0c4e1f..0df22fb5ce688 100644
--- a/development/jdk/jdk.SlackBuild
+++ b/development/jdk/jdk.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=jdk
VERSION=7u7
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
DVER=1.7.0_07
@@ -116,6 +116,20 @@ if [ -L libjsig.so ]; then
fi
# End cleanup.
+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
+
EOF
# Install the desktop/mime files: