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