[java-1.7.0-openjdk/f20] Added check to lua according to already exisitng same jvm
jiri vanek
jvanek at fedoraproject.org
Wed Apr 16 06:28:31 UTC 2014
commit 4ee22ef28782d17f3a862d20c93756762b56c3a1
Author: Jiri Vanek <jvanek at jvanek.redhat>
Date: Wed Apr 16 08:28:12 2014 +0200
Added check to lua according to already exisitng same jvm
java-1.7.0-openjdk.spec | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/java-1.7.0-openjdk.spec b/java-1.7.0-openjdk.spec
index 5c4c224..df16453 100644
--- a/java-1.7.0-openjdk.spec
+++ b/java-1.7.0-openjdk.spec
@@ -951,6 +951,12 @@ for i,p in pairs(foundJvms) do
if (debug) then
print("matched: "..p)
end;
+ if (currentjvm == p) then
+ if (debug) then
+ print("this jdk is already installed. exiting lua script")
+ end;
+ return
+ end ;
table.insert(jvms, p)
else
if (debug) then
@@ -1501,6 +1507,7 @@ exit 0
%changelog
* Mon Apr 07 2014 Jiri Vanek <jvanek at redhat.com> - 1.7.0.55-2.4.7.0.fc20
+- Added check to lua according to already exisitng same jvm
- bumped to future icedtea-forest 2.4.7
- updatever set to 55, buildver se to 13, release reset to 0
- removed upstreamed patch402 gstackbounds.patch
More information about the scm-commits
mailing list