mirror of
https://github.com/mudler/luet.git
synced 2025-08-27 19:38:49 +00:00
Enhance output
This commit is contained in:
parent
3d5b723668
commit
c193e4d320
@ -262,6 +262,8 @@ func (l *LuetInstaller) Install(p []pkg.Package, s *System) error {
|
|||||||
|
|
||||||
func (l *LuetInstaller) installPackage(a ArtifactMatch, s *System) error {
|
func (l *LuetInstaller) installPackage(a ArtifactMatch, s *System) error {
|
||||||
|
|
||||||
|
Info("Installing", a.Package.GetName())
|
||||||
|
|
||||||
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())
|
||||||
|
|
||||||
@ -272,7 +274,7 @@ func (l *LuetInstaller) installPackage(a ArtifactMatch, s *System) error {
|
|||||||
|
|
||||||
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 get file list")
|
||||||
}
|
}
|
||||||
|
|
||||||
err = artifact.Unpack(s.Target, true)
|
err = artifact.Unpack(s.Target, true)
|
||||||
|
Loading…
Reference in New Issue
Block a user