From cc548ffc8fb29135fb9ca3839f4fa75ff8568909 Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Wed, 8 Mar 2017 09:24:58 -0500 Subject: [PATCH] Use "wget -N" for pgtap download Otherwise, a repeated run will pause waiting for a response to a prompt to overwrite the existing pgtap zip file. Signed-off-by: Dan Scott --- installer/jessie/eg_jessie_installer.sh | 2 +- installer/wheezy/eg_wheezy_installer.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/installer/jessie/eg_jessie_installer.sh b/installer/jessie/eg_jessie_installer.sh index c7806cf6e..97cc88f8b 100755 --- a/installer/jessie/eg_jessie_installer.sh +++ b/installer/jessie/eg_jessie_installer.sh @@ -450,7 +450,7 @@ function configure_database { if [ $LIVETEST ]; then PG_TAP_VER="0.97.0" - wget http://api.pgxn.org/dist/pgtap/$PG_TAP_VER/pgtap-$PG_TAP_VER.zip \ + wget -N http://api.pgxn.org/dist/pgtap/$PG_TAP_VER/pgtap-$PG_TAP_VER.zip \ && unzip pgtap-$PG_TAP_VER.zip \ && cd pgtap-$PG_TAP_VER \ && make \ diff --git a/installer/wheezy/eg_wheezy_installer.sh b/installer/wheezy/eg_wheezy_installer.sh index 837c4c21b..5707e6bad 100755 --- a/installer/wheezy/eg_wheezy_installer.sh +++ b/installer/wheezy/eg_wheezy_installer.sh @@ -458,7 +458,7 @@ function configure_database { if [ $LIVETEST ]; then PG_TAP_VER="0.97.0" - wget http://api.pgxn.org/dist/pgtap/$PG_TAP_VER/pgtap-$PG_TAP_VER.zip \ + wget -N http://api.pgxn.org/dist/pgtap/$PG_TAP_VER/pgtap-$PG_TAP_VER.zip \ && unzip pgtap-$PG_TAP_VER.zip \ && cd pgtap-$PG_TAP_VER \ && make \ -- 2.11.0