Skip to content

Commit

Permalink
Ignore core.db.sig and extra.db.sig download errors
Browse files Browse the repository at this point in the history
  • Loading branch information
balki authored Nov 25, 2024
1 parent 04b340b commit abe7872
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions downloader.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ func (d *Downloader) download() error {
for _, u := range urls {
err := d.downloadFromUpstream(u, proxyURL)
if err != nil {
if strings.HasSuffix(u, "/core.db.sig") || strings.HasSuffix(u, "/extra.db.sig") {
// Archlinux dbs are not signed as of Nov 2024
// https://wiki.archlinux.org/title/DeveloperWiki:Repo_DB_Signing
return nil
}
log.Printf("unable to download file %v: %v", d.key, err)
continue // try next mirror
}
Expand Down

0 comments on commit abe7872

Please sign in to comment.