summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Maw <jonathan.maw@codethink.co.uk>2012-11-27 16:45:34 +0000
committerJonathan Maw <jonathan.maw@codethink.co.uk>2012-11-27 16:45:34 +0000
commit0f1602062f1f9515828adb7aff2d9bad354c91d4 (patch)
treec76a5f749c2e79040ffe6519dbbea62f2e78cdce
parent2987c1072973f1d94f29f483df3b6dce4966fe1f (diff)
downloadgenivi-initial-setup-0f1602062f1f9515828adb7aff2d9bad354c91d4.tar.gz
Stop wget complaining if the water-bomb staging filler already exists
-rwxr-xr-xsetup6
1 files changed, 5 insertions, 1 deletions
diff --git a/setup b/setup
index 58369e0..2c18176 100755
--- a/setup
+++ b/setup
@@ -29,7 +29,11 @@ cd -
else
git clone ssh://git@trove.ducie.codethink.co.uk/ct/genivi/genivi-staging-filler /src/staging-filler
fi
-wget -P /src/staging-filler http://download.baserock.org/baserock/water-bomb-x86_64-filler.tar.gz
+if [ -e /src/staging-filler/water-bomb-x86_64-filler.tar.gz ]
+then
+else
+ wget -P /src/staging-filler http://download.baserock.org/baserock/water-bomb-x86_64-filler.tar.gz
+fi
#Ensure the cache and temp directories exist
mkdir /src/cache