Redownloading again all files in case of prereleases or daily builds.
This commit is contained in:
parent
49e0ab5593
commit
82e366c5da
|
@ -239,7 +239,9 @@ class Build(loaih.RemoteBuild):
|
|||
os.chdir(self.download_path)
|
||||
for archive in tarballs:
|
||||
# If the archive is already there, do not do anything.
|
||||
if os.path.exists(archive):
|
||||
# If it is a daily build or a pre-release, due to filename
|
||||
# clashes, redownload the whole build.
|
||||
if os.path.exists(archive) and self.query not in { 'daily', 'prerelease' }:
|
||||
continue
|
||||
|
||||
# Download the archive
|
||||
|
|
Loading…
Reference in New Issue