From: DRC Date: Thu, 19 Mar 2009 23:13:29 +0000 (+0000) Subject: Don't download tarballs if they already exist in the local directory X-Git-Tag: v0.0.90~97 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=298114286cf2879f2faf351533d955ad5571880e;p=tigervnc.git Don't download tarballs if they already exist in the local directory git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3692 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- diff --git a/unix/download-xorg b/unix/download-xorg index c397329b..74768fa7 100755 --- a/unix/download-xorg +++ b/unix/download-xorg @@ -76,7 +76,7 @@ def main(): for pkg in packages.keys(): loc = packages[pkg] fname = pkg + ".tar.bz2" - assert 0 == subprocess.call(["wget", "-O", fname, loc]) + assert 0 == subprocess.call(["wget", "-N", "-c", "-O", fname, loc]) main()