diff options
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" |
