Merge pull request #252 from Itxaka/consider_provides_names_on_install

installer: Take into consideration provides names
This commit is contained in:
Ettore Di Giacinto
2021-09-06 15:45:25 +02:00
committed by GitHub

View File

@@ -551,6 +551,11 @@ func (l *LuetInstaller) Install(cp pkg.Packages, s *System) error {
if m.Package.GetName() == p.GetName() {
found = true
}
for _, pack := range m.Package.GetProvides() {
if pack.GetName() == p.GetName() {
found = true
}
}
}
if !found {