You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@predictionio.apache.org by em...@apache.org on 2017/01/27 18:37:36 UTC
[2/2] incubator-predictionio git commit: [PIO-22] Remove reference to
version, as we track master
[PIO-22] Remove reference to version, as we track master
Project: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/commit/9d085424
Tree: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/tree/9d085424
Diff: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/diff/9d085424
Branch: refs/heads/develop
Commit: 9d0854242ee4dac5f797e3116817c84f785d56f9
Parents: 82b036c
Author: EmergentOrder <le...@gmail.com>
Authored: Fri Jan 27 12:36:10 2017 -0600
Committer: EmergentOrder <le...@gmail.com>
Committed: Fri Jan 27 12:36:10 2017 -0600
----------------------------------------------------------------------
bin/install.sh | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/9d085424/bin/install.sh
----------------------------------------------------------------------
diff --git a/bin/install.sh b/bin/install.sh
index a999435..40eb8d9 100755
--- a/bin/install.sh
+++ b/bin/install.sh
@@ -18,7 +18,6 @@
#
OS=`uname`
-PIO_VERSION=0.11.0
SPARK_VERSION=1.6.2
# Looks like support for Elasticsearch 2.0 will require 2.0 so deferring
ELASTICSEARCH_VERSION=1.7.5
@@ -27,7 +26,7 @@ POSTGRES_VERSION=9.4-1204.jdbc41
MYSQL_VERSION=5.1.37
PIO_DIR=$HOME/PredictionIO
USER_PROFILE=$HOME/.profile
-PIO_FILE=PredictionIO-${PIO_VERSION}.tar.gz
+PIO_FILE=PredictionIO-*.tar.gz
TEMP_DIR=/tmp
DISTRO_DEBIAN="Debian/Ubuntu"
@@ -56,7 +55,7 @@ confirm () {
esac
}
-echo -e "\033[1;32mWelcome to PredictionIO $PIO_VERSION!\033[0m"
+echo -e "\033[1;32mWelcome to PredictionIO !\033[0m"
# Detect OS
if [[ "$OS" = "Darwin" ]]; then
@@ -287,16 +286,16 @@ if [[ ! -e ${PIO_FILE} ]]; then
tar zxf incubator-predictionio-master.tar.gz
- mv incubator-predictionio-master PredictionIO-${PIO_VERSION}
+ mv incubator-predictionio-master PredictionIO
- sh PredictionIO-${PIO_VERSION}/make-distribution.sh
- cp PredictionIO-${PIO_VERSION}/${PIO_FILE} ${TEMP_DIR}
- rm -r PredictionIO-${PIO_VERSION}
+ sh PredictionIO/make-distribution.sh
+ cp PredictionIO/${PIO_FILE} ${TEMP_DIR}
+ rm -r PredictionIO
fi
tar zxf ${PIO_FILE}
rm -rf ${pio_dir}
-mv PredictionIO-${PIO_VERSION} ${pio_dir}
+mv PredictionIO*/ ${pio_dir}
if [[ $USER ]]; then
chown -R $USER ${pio_dir}
@@ -465,7 +464,7 @@ echo -e "\033[1;32mInstallation done!\033[0m"
echo "--------------------------------------------------------------------------------"
-echo -e "\033[1;32mInstallation of PredictionIO $PIO_VERSION complete!\033[0m"
+echo -e "\033[1;32mInstallation of PredictionIO complete!\033[0m"
echo -e "\033[1;32mPlease follow documentation at http://predictionio.incubator.apache.org/start/download/ to download the engine template based on your needs\033[0m"
echo -e
echo -e "\033[1;33mCommand Line Usage Notes:\033[0m"