diff options
author | Paul Sokolovsky <paul.sokolovsky@linaro.org> | 2011-07-05 17:41:47 +0300 |
---|---|---|
committer | Paul Sokolovsky <paul.sokolovsky@linaro.org> | 2011-07-05 17:41:47 +0300 |
commit | e9a6e023714878fb58abdb78c4d0e9708ab74675 (patch) | |
tree | f744a681f97ab38e0eb64929e6763487adb1b972 /node | |
parent | a8d847d1a269cc3b5352b7c49d3affc25a57810d (diff) |
Save split seconds on java install attempts.
Diffstat (limited to 'node')
-rwxr-xr-x | node/setup-build-android | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/node/setup-build-android b/node/setup-build-android index 4ebe63f..7b4fba9 100755 --- a/node/setup-build-android +++ b/node/setup-build-android @@ -21,7 +21,10 @@ add-apt-repository "deb http://archive.canonical.com/ubuntu maverick partner" apt-get update export DEBIAN_FRONTEND=noninteractive -apt-get install -y sun-java6-jdk || (debconf 'echo SET shared/accepted-sun-dlj-v1-1 true' || true; apt-get install -f -y; apt-get install -y sun-java6-jdk) +# Ok, we know that first attempt to install Java w/o accepting license will fail, +# so let's start with accepting it right away. +#apt-get install -y sun-java6-jdk || +(debconf 'echo SET shared/accepted-sun-dlj-v1-1 true' || true; apt-get install -f -y; apt-get install -y sun-java6-jdk) # set java-6-sun as default update-java-alternatives -s java-6-sun || true |