diff options
| author | Jeff Carr <[email protected]> | 2025-10-03 17:19:26 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-03 17:19:26 -0500 |
| commit | 1a0a7d2b8f9e5677af3f244c192b304eeadad776 (patch) | |
| tree | 98e2fa2d4f186ecbc2b913622cfec92ff15cff8f /doBuild.go | |
| parent | deed575dd7f1ef60477065f6e543a57faa08aa4d (diff) | |
keep moving stuff to the protobufv0.1.3
Diffstat (limited to 'doBuild.go')
| -rw-r--r-- | doBuild.go | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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 } |
