summaryrefslogtreecommitdiff
path: root/doListRepos.go
diff options
context:
space:
mode:
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 {