mirror of
https://github.com/mudler/luet.git
synced 2025-09-09 02:59:30 +00:00
🔧 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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user