]> git.pld-linux.org Git - packages/apache-mod_pagespeed.git/commitdiff
- stop if tarball already present
authorElan Ruusamäe <glen@pld-linux.org>
Sat, 7 Jul 2012 13:32:51 +0000 (13:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    get-source.sh -> 1.6

get-source.sh

index 4470869b05c62da01604afb575c0f83372a031a8..8a2271688c17bcf66538108d91370b8ae9134e46 100644 (file)
@@ -35,6 +35,11 @@ else
        tarball=$pkg-$version.tar.bz2
 fi
 
+if [ -f $tarball ]; then
+       echo "Tarball $tarball already exists"
+       exit 0
+fi
+
 # gclient needs python 2.6
 if python -c "import sys; sys.exit(sys.version[:3] > '2.6')"; then
        echo >&2 "Need python >= 2.6 for gclient"
This page took 0.083562 seconds and 4 git commands to generate.