summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/debian.sh b/debian.sh
index 49eb92f..d23977d 100644
--- a/debian.sh
+++ b/debian.sh
@@ -12,8 +12,10 @@ then
fi
apt-get update -y
apt-get upgrade -y
-apt-get install binutils gcc g++ gfortran sun-java6-jdk -y
-apt-get install wget hostname pwgen git-core raptor-utils r-base -y
+apt-get install binutils gcc g++ gfortran wget hostname pwgen git-core raptor-utils r-base -y
+# accept java license automatically
+echo sun-java6-jdk shared/accepted-sun-dlj-v1-1 select true | /usr/bin/debconf-set-selections
+apt-get install --yes sun-java6-jdk -y
. ./config
apt-get install xsltproc gnuplot -y # for validation
apt-get install libssl-dev zlib1g-dev libreadline-dev libmysqlclient-dev libmysqlclient-dev libcurl4-openssl-dev libxml2-dev libxslt1-dev libgsl0-dev -y