summaryrefslogtreecommitdiff
path: root/tableRepos.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-07 07:13:19 -0500
committerJeff Carr <[email protected]>2025-10-07 07:13:19 -0500
commitbb894f7f9404704f8098758319fb88f030f17d90 (patch)
tree03ad6ab72de85f27c1260fa6db3f6b5e548b4833 /tableRepos.go
parentb0a1247ffa93dfc2c27cf9c8aab97a4ce97cfeef (diff)
fix darwin builds
Diffstat (limited to 'tableRepos.go')
-rw-r--r--tableRepos.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/tableRepos.go b/tableRepos.go
index 7d322fc..0b0b719 100644
--- a/tableRepos.go
+++ b/tableRepos.go
@@ -4,6 +4,8 @@
package main
import (
+ "fmt"
+
"go.wit.com/lib/protobuf/gitpb"
)
@@ -24,6 +26,9 @@ func debianFilename(repo *gitpb.Repo) string {
ver := trimNonNumericFromStart(manufactured)
name := me.forge.Config.DebName(repo.Namespace)
if actualp := me.machine.FindByVersion(name, ver); actualp != nil {
+ if actualp.PkgName == "" {
+ return fmt.Sprintf("%v", actualp)
+ }
return actualp.PkgName
}
return "hmm"