diff options
Diffstat (limited to 'unix')
-rwxr-xr-x | unix/download-xorg-7.5 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/unix/download-xorg-7.5 b/unix/download-xorg-7.5 index 50e4cf5f..136be1c6 100755 --- a/unix/download-xorg-7.5 +++ b/unix/download-xorg-7.5 @@ -74,7 +74,10 @@ def main(): for pkg in packages.keys(): loc = packages[pkg] - fname = pkg + ".tar.bz2" + if ".tar.bz2" in loc: + fname = pkg + ".tar.bz2" + else : + fname = pkg + ".tar.gz" if not os.path.exists(fname): assert 0 == os.spawnvp(os.P_WAIT, "wget", ["-N", "-c", "-O", fname, loc]) |