1
0

fix: support force kernel reinstallation

This commit is contained in:
2023-05-24 16:29:52 +00:00
parent 3271710653
commit ee90bfaa72
2 changed files with 40 additions and 7 deletions

View File

@ -35,6 +35,10 @@ type Distro struct {
Release string
}
func (d Distro) String() string {
return d.ID.String() + " " + d.Release
}
func (d Distro) Packages() (packages []string, err error) {
for _, dd := range distros {
if d.ID != None && d.ID != dd.Distro().ID {