fix: group should always "have update"

This commit is contained in:
2024-12-25 00:10:45 +02:00
parent be3cd37bd6
commit b5af70985d

View File

@@ -44,7 +44,7 @@ func (i *GroupInstaller) CheckNeedsUpdate() (error, bool) {
if i.GetInfo().CheckHasUpdate != nil {
return utils.RunCmdGetSuccess("sh", "-c", *i.GetInfo().CheckHasUpdate)
}
return nil, false
return nil, true
}
// CheckIsInstalled implements IInstaller.