mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-20 10:57:09 +00:00
When downloading/importing packages, enforce all checksums
This commit is contained in:
1 parent
c40025a335
commit
1f3cb2db5d
12 files changed
+57
-16
No files matched your search
@@ -173,6 +173,9 @@ func (downloader *downloaderImpl) download(req *http.Request, url, destination s
|
||||
os.Remove(temppath)
|
||||
return "", err
|
||||
}
|
||||
} else {
|
||||
// update checksums if they match, so that they contain exactly expected set
|
||||
*expected = actual
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user