diff --git a/script/install.bash b/script/install.bash index 9dedd570..55139df6 100755 --- a/script/install.bash +++ b/script/install.bash @@ -42,7 +42,7 @@ bash script/install/bundler.bash || exit 1 bash script/install/nokogiri.bash || exit 1 # nokogiri dependencies -bash script/install/jdk.bash || exit 1 # required by yui-compressor +bash script/install/jre.bash || exit 1 # required by yui-compressor sudo bash script/install/isolate.bash || exit 1 # install isolate sudo bash script/install/cgroup.bash || exit 1 # install cgroups diff --git a/script/install/jdk.bash b/script/install/jre.bash similarity index 84% rename from script/install/jdk.bash rename to script/install/jre.bash index 9820b59e..8b9a6f23 100644 --- a/script/install/jdk.bash +++ b/script/install/jre.bash @@ -10,7 +10,7 @@ # } || exit 1 #} -cmd="sudo apt-get install openjdk-8-jdk" # java required by yui-compressor gem +cmd="sudo apt-get install default-jre-headless" # java required by yui-compressor gem echo "$ $cmd" $cmd [[ $? -le 1 ]] || exit 1 # apt-get exit 0 = success, 1 = decline, otherwise unknown error