Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 7ABB1200B26 for ; Mon, 27 Jun 2016 21:31:21 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 79A78160A54; Mon, 27 Jun 2016 19:31:21 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C9428160A62 for ; Mon, 27 Jun 2016 21:31:20 +0200 (CEST) Received: (qmail 25024 invoked by uid 500); 27 Jun 2016 19:31:20 -0000 Mailing-List: contact commits-help@predictionio.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@predictionio.incubator.apache.org Delivered-To: mailing list commits@predictionio.incubator.apache.org Received: (qmail 25002 invoked by uid 99); 27 Jun 2016 19:31:20 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jun 2016 19:31:19 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 75C2C1A60FB for ; Mon, 27 Jun 2016 19:31:19 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -4.646 X-Spam-Level: X-Spam-Status: No, score=-4.646 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.426] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 2r1ClUagot5i for ; Mon, 27 Jun 2016 19:31:17 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id 1C2F75F4ED for ; Mon, 27 Jun 2016 19:31:15 +0000 (UTC) Received: (qmail 24785 invoked by uid 99); 27 Jun 2016 19:31:15 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jun 2016 19:31:15 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 2D5C1E00A7; Mon, 27 Jun 2016 19:31:15 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: apurtell@apache.org To: commits@predictionio.incubator.apache.org Date: Mon, 27 Jun 2016 19:31:18 -0000 Message-Id: <21a712f10b634ce9a17b03904d410196@git.apache.org> In-Reply-To: <35b346534e13484db0892e8834836594@git.apache.org> References: <35b346534e13484db0892e8834836594@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [04/50] [abbrv] incubator-predictionio git commit: Revert "added confirm delete message" archived-at: Mon, 27 Jun 2016 19:31:21 -0000 Revert "added confirm delete message" This reverts commit cc7ab5585d8f2aa609d36b033550937044819a2d. 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/d9d480a6 Tree: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/tree/d9d480a6 Diff: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/diff/d9d480a6 Branch: refs/heads/master Commit: d9d480a6649290f3f5e77c3bd5beeec2df8396be Parents: 7377860 Author: Donald Szeto Authored: Thu Jan 28 17:44:19 2016 -0800 Committer: Donald Szeto Committed: Thu Jan 28 17:44:19 2016 -0800 ---------------------------------------------------------------------- bin/install.sh | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/d9d480a6/bin/install.sh ---------------------------------------------------------------------- diff --git a/bin/install.sh b/bin/install.sh index 252ab3e..77281c6 100755 --- a/bin/install.sh +++ b/bin/install.sh @@ -276,9 +276,7 @@ cd ${TEMP_DIR} # delete existing tmp file before download again if [[ -e ${PIO_FILE} ]]; then - if confirm "Delete existing $PIO_FILE?"; then - rm ${PIO_FILE} - fi + rm ${PIO_FILE} fi if [[ ! -e ${PIO_FILE} ]]; then @@ -304,9 +302,7 @@ mkdir ${vendors_dir} # Spark echo -e "\033[1;36mStarting Spark setup in:\033[0m $spark_dir" if [[ -e spark-${SPARK_VERSION}-bin-hadoop2.6.tgz ]]; then - if confirm "Delete existing spark-$SPARK_VERSION-bin-hadoop2.6.tgz?"; then - rm spark-${SPARK_VERSION}-bin-hadoop2.6.tgz - fi + rm spark-${SPARK_VERSION}-bin-hadoop2.6.tgz fi if [[ ! -e spark-${SPARK_VERSION}-bin-hadoop2.6.tgz ]]; then echo "Downloading Spark..." @@ -358,9 +354,7 @@ case $source_setup in # Elasticsearch echo -e "\033[1;36mStarting Elasticsearch setup in:\033[0m $elasticsearch_dir" if [[ -e elasticsearch-${ELASTICSEARCH_VERSION}.tar.gz ]]; then - if confirm "Delete existing elasticsearch-$ELASTICSEARCH_VERSION.tar.gz?"; then - rm elasticsearch-${ELASTICSEARCH_VERSION}.tar.gz - fi + rm elasticsearch-${ELASTICSEARCH_VERSION}.tar.gz fi if [[ ! -e elasticsearch-${ELASTICSEARCH_VERSION}.tar.gz ]]; then echo "Downloading Elasticsearch..." @@ -387,9 +381,7 @@ case $source_setup in # HBase echo -e "\033[1;36mStarting HBase setup in:\033[0m $hbase_dir" if [[ -e hbase-${HBASE_VERSION}-bin.tar.gz ]]; then - if confirm "Delete existing hbase-$HBASE_VERSION-bin.tar.gz?"; then - rm hbase-${HBASE_VERSION}-bin.tar.gz - fi + rm hbase-${HBASE_VERSION}-bin.tar.gz fi if [[ ! -e hbase-${HBASE_VERSION}-bin.tar.gz ]]; then echo "Downloading HBase..."