From b9d405bad3093675b3b6301cb1421b3c75afa1ed Mon Sep 17 00:00:00 2001 From: Jim Van Fleet Date: Wed, 27 Jul 2016 15:08:44 -0400 Subject: [PATCH] Moderate idempotence added to download --- bin/download.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bin/download.sh b/bin/download.sh index b977d31..2b074c8 100755 --- a/bin/download.sh +++ b/bin/download.sh @@ -5,7 +5,6 @@ source common.bash . rm -rf root if [ ! -f shibboleth-identity-provider.tar.gz ]; then curl -o shibboleth-identity-provider.tar.gz "https://shibboleth.net/downloads/identity-provider/latest/shibboleth-identity-provider-$version.tar.gz" - tar xvf shibboleth-identity-provider.tar.gz - mv shibboleth-identity-provider-$version root fi -#curl -o shibboleth-identity-provider-3.2.1.tar.gz https://shibboleth.net/downloads/identity-provider/latest/shibboleth-identity-provider-3.2.1.tar.gz \ No newline at end of file +tar xvf shibboleth-identity-provider.tar.gz +mv shibboleth-identity-provider-$version root