From 612646eebce145225750e449139814a66bd018d9 Mon Sep 17 00:00:00 2001 From: ferreo Date: Wed, 2 Oct 2024 20:21:14 +0100 Subject: [PATCH] Fix issue with package parsing --- packages/packages.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/packages.go b/packages/packages.go index 254cfc9..6c96a9a 100644 --- a/packages/packages.go +++ b/packages/packages.go @@ -72,10 +72,12 @@ func ProcessPackages() error { updateBinaryPackageFlags(updatedPackages) updatedPackages.ForEach(func(key string, pkg domain.SourcePackage) bool { - currentPackages.Set(key, pkg) + internalPackages.Set(key, pkg) return true }) + currentPackages = internalPackages + LastUpdateTime = time.Now() if err := helpers.DBInst.DropPackages(); err != nil { return fmt.Errorf("dropping packages: %w", err)