1
0
Fork 0

fix: no need to have separate case for debian anymore

timestamps
dump_stack() 2023-05-24 09:09:16 +00:00
parent bff4422098
commit ac4fcaaa91
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC
1 changed files with 0 additions and 6 deletions

View File

@ -6,7 +6,6 @@ import (
"os"
"path/filepath"
"regexp"
"strings"
"time"
"github.com/cavaliergopher/grab/v3"
@ -191,11 +190,6 @@ type DistroListCmd struct{}
func (cmd *DistroListCmd) Run() (err error) {
for _, d := range distro.List() {
if d.ID == distro.Debian {
d.Release = fmt.Sprintf("%d %s",
debian.ReleaseFromString(d.Release),
strings.Title(d.Release))
}
fmt.Println(d.ID, d.Release)
}
return