You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@predictionio.apache.org by ap...@apache.org on 2016/06/27 19:31:21 UTC

[07/50] [abbrv] incubator-predictionio git commit: Revert "confirm delete existing tmp file before download"

Revert "confirm delete existing tmp file before download"

This reverts commit e38e9aa7cfad811bd604b9494a361f0331b206de.

Conflicts:
	bin/install.sh


Project: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/commit/e9daed3f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/tree/e9daed3f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/diff/e9daed3f

Branch: refs/heads/master
Commit: e9daed3f31be7d3c2e91bfb0801d0b41a29310f0
Parents: 9374f20
Author: Donald Szeto <do...@prediction.io>
Authored: Thu Jan 28 17:47:26 2016 -0800
Committer: Donald Szeto <do...@prediction.io>
Committed: Thu Jan 28 17:47:26 2016 -0800

----------------------------------------------------------------------
 bin/install.sh | 8 --------
 1 file changed, 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/e9daed3f/bin/install.sh
----------------------------------------------------------------------
diff --git a/bin/install.sh b/bin/install.sh
index 73de6fd..298f45f 100755
--- a/bin/install.sh
+++ b/bin/install.sh
@@ -273,14 +273,6 @@ echo "JAVA_HOME is now set to: $JAVA_HOME"
 # PredictionIO
 echo -e "\033[1;36mStarting PredictionIO setup in:\033[0m $pio_dir"
 cd ${TEMP_DIR}
-
-# delete existing tmp file before download again
-if [[ -e  ${PIO_FILE} ]]; then
-  if confirm "Delete existing temporary file?"; then
-    rm ${PIO_FILE}
-  fi
-fi
-
 if [[ ! -e ${PIO_FILE} ]]; then
   echo "Downloading PredictionIO..."
   curl -O https://d8k1yxp8elc6b.cloudfront.net/${PIO_FILE}