From 7a78e4f482a4eb86d54dfe9bd1addaa135dd0809 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Fri, 27 Jun 2025 22:23:14 +0200 Subject: [PATCH] fix(backends gallery): meta packages do not have URIs (#5740) Signed-off-by: Ettore Di Giacinto --- core/gallery/backend_types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/gallery/backend_types.go b/core/gallery/backend_types.go index 9c8bda933..d3dc91604 100644 --- a/core/gallery/backend_types.go +++ b/core/gallery/backend_types.go @@ -30,7 +30,7 @@ func (m *GalleryBackend) SetGallery(gallery config.Gallery) { } func (m *GalleryBackend) IsMeta() bool { - return len(m.CapabilitiesMap) > 0 + return len(m.CapabilitiesMap) > 0 && m.URI == "" } func (m *GalleryBackend) SetInstalled(installed bool) {