summaryrefslogtreecommitdiff
path: root/doListRepos.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-03-23 11:42:59 -0500
committerJeff Carr <[email protected]>2025-03-23 11:42:59 -0500
commit1602db0d1efd101260f6614a32faddb4888d7066 (patch)
treec22a9ce62968c5c8559bdd55cf6a08c187dea522 /doListRepos.go
parentf0e327f8349d62126ddde40242c01648f0d7f1c4 (diff)
Diffstat (limited to 'doListRepos.go')
-rw-r--r--doListRepos.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/doListRepos.go b/doListRepos.go
index 72b562c..67d7227 100644
--- a/doListRepos.go
+++ b/doListRepos.go
@@ -43,7 +43,7 @@ func doListRepos() {
if installedPackage := me.machine.FindInstalledByName(name); installedPackage != nil {
realver = installedPackage.Version
}
- if actualp := me.machine.FindVersion(name, ver); actualp != nil {
+ if actualp := me.machine.FindByVersion(name, ver); actualp != nil {
end += " (version match) " + actualp.Version + " " + ver + " "
state[check] = "on mirrors"
} else {