mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
11 lines
462 B
Diff
11 lines
462 B
Diff
--- frostwire.orig 2011-03-24 02:41:09.000000000 +0200
|
|
+++ frostwire 2011-03-24 02:41:26.000000000 +0200
|
|
@@ -73,7 +73,7 @@ check_version()
|
|
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 version`
|
|
JAVA_IMPL=`echo ${JAVA_HEADER} | cut -f1 -d' '`
|
|
if [ "$JAVA_IMPL" = "java" ] ; then
|
|
VERSION=`echo ${JAVA_HEADER} | sed "s/java version \"\(.*\)\"/\1/"`
|