]> source.dussan.org Git - tigervnc.git/commitdiff
Don't download tarballs if they already exist in the local directory
authorDRC <dcommander@users.sourceforge.net>
Thu, 19 Mar 2009 23:13:29 +0000 (23:13 +0000)
committerDRC <dcommander@users.sourceforge.net>
Thu, 19 Mar 2009 23:13:29 +0000 (23:13 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3692 3789f03b-4d11-0410-bbf8-ca57d06f2519

unix/download-xorg

index c397329b9e3c16cb6cdd7eacfcf04522d7b8bb31..74768fa72d0abd59fccb60699391b890b9a4f2e5 100755 (executable)
@@ -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()