diff options
| author | Jeff Carr <[email protected]> | 2025-10-07 13:20:40 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-07 13:20:40 -0500 |
| commit | e07eae84fd550cd52a46f92912cf1b1b755ab75f (patch) | |
| tree | 72aa5b122b644a6ebe9422b9a5f3e4dcad1dcaff /doBuild.go | |
| parent | 9cea97eba7242d179c997999b2fac957912e5cd1 (diff) | |
try to figure out what went wrongv0.1.22
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" } |
