🔧 No need to force for upgrades on install anymore

Upgrades heuristic changed so this is not required anymore. Users can
call in upgrade explicitly, which is also what would be mostly expected.
This commit is contained in:
Ettore Di Giacinto
2021-12-31 19:51:50 +01:00
parent 80bc5429bc
commit 1c1045ace1

View File

@@ -522,13 +522,6 @@ func (l *LuetInstaller) Install(cp pkg.Packages, s *System) error {
return err
}
if len(s.Database.World()) > 0 && !l.Options.Relaxed {
l.Options.Context.Info(":thinking: Checking for available upgrades")
if err := l.checkAndUpgrade(syncedRepos, s); err != nil {
return errors.Wrap(err, "while checking upgrades before install")
}
}
o := Option{
NoDeps: l.Options.NoDeps,
Force: l.Options.Force,