mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
development/netbeans: Updated for version 8.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
6027bb5a54
commit
5353d82b3a
3 changed files with 7 additions and 10 deletions
|
@ -1,14 +1,11 @@
|
|||
config() {
|
||||
NEW="$1"
|
||||
OLD="$(dirname $NEW)/$(basename $NEW .new)"
|
||||
# If there's no config file by that name, mv it over:
|
||||
if [ ! -r $OLD ]; then
|
||||
mv $NEW $OLD
|
||||
elif [ "$(cat $OLD|md5sum)" = "$(cat $NEW|md5sum)" ]; then
|
||||
# toss the redundant copy
|
||||
elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
|
||||
rm $NEW
|
||||
fi
|
||||
# Otherwise, we leave the .new copy for the admin to consider...
|
||||
}
|
||||
|
||||
if [ -x /usr/bin/update-desktop-database ]; then
|
||||
|
@ -22,7 +19,7 @@ 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
|
||||
fi
|
||||
|
||||
config opt/netbeans/etc/netbeans.conf.new
|
||||
|
|
|
@ -26,13 +26,13 @@
|
|||
# Updated by Andre Barboza <bmg.andre@gmail.com>
|
||||
|
||||
PRGNAM=netbeans
|
||||
VERSION=${VERSION:-8.1}
|
||||
VERSION=${VERSION:-8.2}
|
||||
ARCH=noarch
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
BUNDLE=${BUNDLE:+-$BUNDLE}
|
||||
DATE="201510222201"
|
||||
DATE="201609300101"
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="netbeans"
|
||||
VERSION="8.1"
|
||||
VERSION="8.2"
|
||||
HOMEPAGE="http://www.netbeans.org"
|
||||
DOWNLOAD="http://download.netbeans.org/netbeans/8.1/final/zip/netbeans-8.1-201510222201.zip"
|
||||
MD5SUM="361ce18421761a057bad5cb6cf7b58f4"
|
||||
DOWNLOAD="http://download.netbeans.org/netbeans/8.2/final/zip/netbeans-8.2-201609300101.zip"
|
||||
MD5SUM="9a13fb5e1904f710de764fe56c3c5569"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="jdk"
|
||||
|
|
Loading…
Reference in a new issue