summaryrefslogtreecommitdiff
path: root/update.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-09 20:01:03 -0500
committerJeff Carr <[email protected]>2025-10-09 20:06:41 -0500
commit32d097405950217bf0597e4ec23d22160f0a2b22 (patch)
tree9d44a953e68746fa7b76b8b73a875847ba8e9621 /update.go
parentbab0ecf924c0f4ddbac5b86ba226a742828c8b40 (diff)
need to fix this in the futurev0.0.7
Diffstat (limited to 'update.go')
-rw-r--r--update.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/update.go b/update.go
index e61c38f..7ff9594 100644
--- a/update.go
+++ b/update.go
@@ -89,7 +89,7 @@ func UpdatePackages(me *zoopb.Machine) error {
// Print the installed packages and their versions
for pname, version := range newP {
- found := me.Packages.FindByPackage(pname)
+ found := me.FindInstalledByName(pname)
if found == nil {
log.Info("adding new", pname, version)
new1 := new(zoopb.Package)