summaryrefslogtreecommitdiff
path: root/doAptUpgrade.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 /doAptUpgrade.go
parentf0e327f8349d62126ddde40242c01648f0d7f1c4 (diff)
Diffstat (limited to 'doAptUpgrade.go')
-rw-r--r--doAptUpgrade.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/doAptUpgrade.go b/doAptUpgrade.go
index 63ef6b1..6f995e1 100644
--- a/doAptUpgrade.go
+++ b/doAptUpgrade.go
@@ -51,7 +51,7 @@ func doAptList() {
if me.forge.Config.IsPrivate(p.Name) {
end += "(private) "
}
- if actualp := me.machine.FindVersion(p.Name, p.Version); actualp != nil {
+ if actualp := me.machine.FindByVersion(p.Name, p.Version); actualp != nil {
// end += "(version match) "
} else {
end += "(version mismatch) " + actualp.Version + " " + version + " "