diff --git a/loaih/build.py b/loaih/build.py index 0a74e58..1b35aff 100644 --- a/loaih/build.py +++ b/loaih/build.py @@ -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