daca2: tell wget to overwrite file. We want that the correct file is used.
This commit is contained in:
parent
910a90e4c1
commit
6273a270c7
|
@ -25,7 +25,7 @@ def wget(filepath):
|
|||
filename = filename[filename.rfind('/') + 1:]
|
||||
for d in DEBIAN:
|
||||
subprocess.call(
|
||||
['nice', 'wget', '--tries=10', '--timeout=300', d + filepath])
|
||||
['nice', 'wget', '--tries=10', '--timeout=300', '-O', filepath, d + filepath])
|
||||
if os.path.isfile(filename):
|
||||
return True
|
||||
print('Sleep for 10 seconds..')
|
||||
|
|
Loading…
Reference in New Issue