mirror of
https://github.com/mudler/luet.git
synced 2025-08-31 14:52:02 +00:00
Don't make artifact checksum skippable
This commit is contained in:
@@ -587,7 +587,7 @@ func (l *LuetInstaller) downloadPackage(a ArtifactMatch) (compiler.Artifact, err
|
||||
}
|
||||
|
||||
err = artifact.Verify()
|
||||
if err != nil && !l.Options.Force {
|
||||
if err != nil {
|
||||
return nil, errors.Wrap(err, "Artifact integrity check failure")
|
||||
}
|
||||
return artifact, nil
|
||||
|
Reference in New Issue
Block a user