summaryrefslogtreecommitdiff
path: root/network/frostwire/frostwire_checkjava.diff
diff options
context:
space:
mode:
authorEdward Koenig <kingbeowulf@gmail.com>2011-12-27 01:43:19 -0600
committerRobby Workman <rworkman@slackbuilds.org>2011-12-27 01:43:19 -0600
commitd0f5b8e06f0c589f27c415e6d9e72ead75b8ac63 (patch)
treed191fda96ff9bdb8945d8aa15fbb79d8c2061771 /network/frostwire/frostwire_checkjava.diff
parent1fabf76a39656ec896e080328eca353787d4d7d1 (diff)
downloadslackbuilds-d0f5b8e06f0c589f27c415e6d9e72ead75b8ac63.tar.gz
network/frostwire: Updated for version 5.2.11.
This includes some OCD cleanup efforts by SOB below :) Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/frostwire/frostwire_checkjava.diff')
-rw-r--r--network/frostwire/frostwire_checkjava.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/network/frostwire/frostwire_checkjava.diff b/network/frostwire/frostwire_checkjava.diff
new file mode 100644
index 0000000000..3fb05fb574
--- /dev/null
+++ b/network/frostwire/frostwire_checkjava.diff
@@ -0,0 +1,11 @@
+--- frostwire 2011-11-22 08:50:52.000000000 -0800
++++ frostwire.new 2011-12-26 13:56:41.676000352 -0800
+@@ -73,7 +73,7 @@
+ return 1
+ fi
+
+- JAVA_HEADER=`${JAVA_PROGRAM_DIR}java -version 2>&1 | head -n 1`
++ JAVA_HEADER=`${JAVA_PROGRAM_DIR}java -version 2>&1 | grep java`
+ JAVA_IMPL=`echo ${JAVA_HEADER} | cut -f1 -d' '`
+ if [ "$JAVA_IMPL" = "java" ] ; then
+ VERSION=`echo ${JAVA_HEADER} | sed "s/java version \"\(.*\)\"/\1/"`