diff options
Diffstat (limited to 'doBuild.go')
| -rw-r--r-- | doBuild.go | 18 |
1 files changed, 6 insertions, 12 deletions
@@ -30,6 +30,11 @@ func doBuild() error { if argv.Build.Debian != nil { doBuildDeb() + if totalBuilt > 0 { + if _, err := shell.RunRealtimeError([]string{"do-aptly"}); err != nil { + me.sh.BadExit("aptly failed", nil) + } + } okExit("") } @@ -158,20 +163,9 @@ func doInstallScan() { } } - debname := name + "_" + ver + "_amd64.deb" - // debnames[check] = debname - outdir := getOutdir(check) - _, err := os.Stat(filepath.Join(outdir, debname)) - if err == nil { - // log.Info("exists", filepath.Join(outdir, debname)) - check.State = "in incoming" - } else { - // log.Info(debname, "does not exist") - } - state := check.GetState() // todo: get all this shit into the protobuf - start = fmt.Sprintf("%-18.18s %-24s %-50s", state, ver, debname) + start = fmt.Sprintf("%-18.18s %-24s", state, ver) if strings.HasPrefix(check.GetState(), "unknown bran") { state = "need to build" } |
