summaryrefslogtreecommitdiff
path: root/doListRepos.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-03 14:19:18 -0500
committerJeff Carr <[email protected]>2025-10-03 14:19:18 -0500
commitf19039b4ae20fbf01248da9fbdf97ef93c7080d0 (patch)
treefcd1f9178451d0a4b0838ee5390d5f2ffb486428 /doListRepos.go
parente4b679003ce0847dd65254a5e0a0b3239fd0d566 (diff)
try to fix .deb builds
Diffstat (limited to 'doListRepos.go')
-rw-r--r--doListRepos.go14
1 files changed, 7 insertions, 7 deletions
diff --git a/doListRepos.go b/doListRepos.go
index 7534f28..9d91375 100644
--- a/doListRepos.go
+++ b/doListRepos.go
@@ -43,7 +43,7 @@ func doListRepos() {
}
if actualp := me.machine.FindByVersion(name, ver); actualp != nil {
end += " (version match) " + actualp.Version + " " + ver + " "
- state[check] = "on mirrors"
+ check.State = "on mirrors"
} else {
if realver != "" {
end += fmt.Sprintf(" (version miss) %s vs %s ", realver, ver)
@@ -63,22 +63,22 @@ func doListRepos() {
}
debname := name + "_" + ver + "_amd64.deb"
- debnames[check] = debname
+ // debnames[check] = debname
outdir := getOutdir(check)
_, err := os.Stat(filepath.Join(outdir, debname))
if err == nil {
// log.Info("exists", filepath.Join(outdir, debname))
- state[check] = "in incoming"
+ check.State = "in incoming"
} else {
// log.Info(debname, "does not exist")
}
- if state[check] == "" {
- state[check] = "need to build"
+ if check.State == "" {
+ check.State = "need to build"
}
- start = fmt.Sprintf("%-15s %-20s %-50s", state[check], ver, debname)
+ start = fmt.Sprintf("%-15s %-20s %-50s", check.State, ver, debname)
- if state[check] == "need to build" {
+ if check.State == "need to build" {
end += " (will build) "
}