diff options
| author | Jeff Carr <[email protected]> | 2025-10-07 07:13:19 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-07 07:13:19 -0500 |
| commit | bb894f7f9404704f8098758319fb88f030f17d90 (patch) | |
| tree | 03ad6ab72de85f27c1260fa6db3f6b5e548b4833 /tableRepos.go | |
| parent | b0a1247ffa93dfc2c27cf9c8aab97a4ce97cfeef (diff) | |
fix darwin builds
Diffstat (limited to 'tableRepos.go')
| -rw-r--r-- | tableRepos.go | 5 |
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" |
