mirror of
https://github.com/mudler/luet.git
synced 2025-08-31 06:35:12 +00:00
@@ -265,6 +265,11 @@ func (l *LuetInstaller) installPackage(a ArtifactMatch, s *System) error {
|
||||
artifact, err := a.Repository.Client().DownloadArtifact(a.Artifact)
|
||||
defer os.Remove(artifact.GetPath())
|
||||
|
||||
err = artifact.Verify()
|
||||
if err != nil {
|
||||
return errors.Wrap(err, "Artifact integrity check failure")
|
||||
}
|
||||
|
||||
files, err := artifact.FileList()
|
||||
if err != nil {
|
||||
return errors.Wrap(err, "Could not open package archive")
|
||||
|
Reference in New Issue
Block a user