summaryrefslogtreecommitdiff
path: root/doBuild.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-03 17:19:26 -0500
committerJeff Carr <[email protected]>2025-10-03 17:19:26 -0500
commit1a0a7d2b8f9e5677af3f244c192b304eeadad776 (patch)
tree98e2fa2d4f186ecbc2b913622cfec92ff15cff8f /doBuild.go
parentdeed575dd7f1ef60477065f6e543a57faa08aa4d (diff)
keep moving stuff to the protobufv0.1.3
Diffstat (limited to 'doBuild.go')
-rw-r--r--doBuild.go9
1 files 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
}