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