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)