This commit is contained in:
ferrreo 2023-09-06 23:50:47 +01:00
parent dcfd766e59
commit dcf420e4bc
2 changed files with 1 additions and 1 deletions

BIN
ppp

Binary file not shown.

View File

@ -109,7 +109,7 @@ func compare(basePackages map[string]packageInfo, targetPackages map[string]pack
output := make(map[string]packageInfo) output := make(map[string]packageInfo)
for pack, info := range targetPackages { for pack, info := range targetPackages {
if baseVersion, ok := basePackages[pack]; ok { if baseVersion, ok := basePackages[pack]; ok {
if version.Compare(info.Version, baseVersion.Version) != 0 { if version.Compare(info.Version, baseVersion.Version) > 0 {
output[pack] = info output[pack] = info
if !download { if !download {
os.Stdout.WriteString(pack) os.Stdout.WriteString(pack)