Repository: incubator-predictionio Updated Branches: refs/heads/develop 36f763a98 -> aae727dd2
[MINOR] install.sh fix Fixed "default: Unable to locate package openjdk-8-jdk" Closes #313 Project: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/commit/aae727dd Tree: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/tree/aae727dd Diff: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/diff/aae727dd Branch: refs/heads/develop Commit: aae727dd265810d8d2543e4c36b3221844b70eb0 Parents: 36f763a Author: scorpiovn <[email protected]> Authored: Wed Nov 2 11:24:08 2016 -0700 Committer: Donald Szeto <[email protected]> Committed: Wed Nov 2 11:24:08 2016 -0700 ---------------------------------------------------------------------- bin/install.sh | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/aae727dd/bin/install.sh ---------------------------------------------------------------------- diff --git a/bin/install.sh b/bin/install.sh index 6f5249d..7d4aef5 100755 --- a/bin/install.sh +++ b/bin/install.sh @@ -103,6 +103,7 @@ if [[ "$OS" = "Linux" && $(cat /proc/1/cgroup) == *cpu:/docker/* ]]; then # Java Install echo -e "\033[1;36mStarting Java install...\033[0m" + sudo add-apt-repository ppa:openjdk-r/ppa sudo apt-get update sudo apt-get install openjdk-8-jdk libgfortran3 -y @@ -136,6 +137,7 @@ elif [[ "$1" == "-y" ]]; then echo -e "\033[1;36mStarting Java install...\033[0m" # todo: make java installation platform independent + sudo add-apt-repository ppa:openjdk-r/ppa sudo apt-get update sudo apt-get install openjdk-8-jdk libgfortran3 python-pip -y sudo pip install predictionio @@ -233,6 +235,7 @@ else echo -e "\033[33mThis script requires superuser access!\033[0m" echo -e "\033[33mYou will be prompted for your password by sudo:\033[0m" + sudo add-apt-repository ppa:openjdk-r/ppa sudo apt-get update sudo apt-get install openjdk-8-jdk libgfortran3 python-pip -y sudo pip install predictionio
