summaryrefslogtreecommitdiff
path: root/doInstall.go
diff options
context:
space:
mode:
Diffstat (limited to 'doInstall.go')
-rw-r--r--doInstall.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/doInstall.go b/doInstall.go
index 51b99c4..9230243 100644
--- a/doInstall.go
+++ b/doInstall.go
@@ -44,7 +44,7 @@ func doInstall() error {
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 {