aboutsummaryrefslogtreecommitdiffstats
path: root/.travis/install
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2015-02-05 16:59:28 +0000
committerMatthew Somerville <matthew@mysociety.org>2015-02-05 18:12:48 +0000
commit1cf8f514a231924cd992a5ca4f6af692c365da4a (patch)
tree6b098c67f8996427d10d8b892bf04fcd0c8f7684 /.travis/install
parent46541a64e9ca47d235f4fd832024bfcfa61db673 (diff)
[Travis] Only install boto when necessary.
And make sure file is removed if not a tar file.
Diffstat (limited to '.travis/install')
-rwxr-xr-x.travis/install2
1 files changed, 2 insertions, 0 deletions
diff --git a/.travis/install b/.travis/install
index c766d3598..b73eef330 100755
--- a/.travis/install
+++ b/.travis/install
@@ -19,6 +19,8 @@ try:
tfile.extractall()
print "Cached copy found and extracted"
sys.exit(0)
+ else:
+ os.remove(wanted_filename)
except IOError:
os.remove(wanted_filename)