Adapt installer to new changes

This commit is contained in:
Ettore Di Giacinto
2019-11-29 19:01:52 +01:00
parent d0c84d24a0
commit 2c7391fcc9
5 changed files with 41 additions and 94 deletions

View File

@@ -2,7 +2,6 @@ package installer
import (
pkg "github.com/mudler/luet/pkg/package"
"github.com/mudler/luet/pkg/tree"
)
type System struct {
@@ -11,7 +10,5 @@ type System struct {
}
func (s *System) World() ([]pkg.Package, error) {
t := tree.NewDefaultTree()
t.SetPackageSet(s.Database)
return t.World()
return s.Database.World(), nil
}