mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
development/jdk: Fixed (Handle desktop, mime, and icon files)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
parent
b3c9b66d9f
commit
3f6f553556
1 changed files with 15 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue