From 1a0a7d2b8f9e5677af3f244c192b304eeadad776 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 3 Oct 2025 17:19:26 -0500 Subject: keep moving stuff to the protobuf --- doBuild.go | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/doBuild.go b/doBuild.go index d99215f..9ea531e 100644 --- a/doBuild.go +++ b/doBuild.go @@ -130,9 +130,14 @@ func doInstallScan() { // log.Info(debname, "does not exist") } - start = fmt.Sprintf("%-18s %-24s %-50s", check.GetState(), ver, debname) + state := check.GetState() + // todo: get all this shit into the protobuf + start = fmt.Sprintf("%-18.18s %-24s %-50s", state, ver, debname) + if strings.HasPrefix(check.GetState(), "unknown bran") { + state = "need to build" + } - if check.GetState() == "need to build" { + if state == "need to build" { end = "(will build)" + end } -- cgit v1.2.3