diff options
author | Sukma Wardana <sukma.wardana@mail.com> | 2019-01-01 00:12:33 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-01-05 07:49:17 +0700 |
commit | 77b368a1dab5ba6ad46add7f54fc867f4d87957a (patch) | |
tree | 739044d9ac61a87e427f0bb5ec49307f185eb1e6 /development/netbeans/doinst.sh | |
parent | a9d5a019fea6f369db52d15f12b90e65e4ba5c5c (diff) |
development/netbeans: Updated for version 10.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/netbeans/doinst.sh')
-rw-r--r-- | development/netbeans/doinst.sh | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/development/netbeans/doinst.sh b/development/netbeans/doinst.sh index 456719b7819e..47132aecc587 100644 --- a/development/netbeans/doinst.sh +++ b/development/netbeans/doinst.sh @@ -12,7 +12,16 @@ 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 -f usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi + config opt/netbeans/etc/netbeans.conf.new config opt/netbeans/etc/netbeans.clusters.new config opt/netbeans/etc/netbeans.import.new - |