summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-10 13:53:41 -0500
committerJeff Carr <[email protected]>2025-10-10 16:22:20 -0500
commit4166d4404f827e695526f3768fff65537a40735b (patch)
tree3bb9e7c503a5c2943c95b5e937a4cfc060c66032
parenta71d41b045612131597931baffe2097db2b659d3 (diff)
closer to working
-rw-r--r--Makefile1
-rw-r--r--argv.go2
-rw-r--r--doMakeDists.go2
3 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 93cc6b6..b4cfd0a 100644
--- a/Makefile
+++ b/Makefile
@@ -5,6 +5,7 @@ GUIVERSION = $(shell git describe --tags)
BUILDTIME = $(shell date +%s)
all: install
+ mirrors makedists
build: goimports
GO111MODULE=off go build \
diff --git a/argv.go b/argv.go
index bf3ace2..2fde2f2 100644
--- a/argv.go
+++ b/argv.go
@@ -51,7 +51,7 @@ func (args) Appname() string {
}
func (a args) DoAutoComplete(pb *prep.Auto) {
- base := []string{"--version", "oldway", "--dry-run", "--force", "incoming", "walk", "list"}
+ base := []string{"--version", "oldway", "--dry-run", "--force", "incoming", "walk", "list", "makedists"}
if pb.Cmd == "" {
pb.Autocomplete3(base)
diff --git a/doMakeDists.go b/doMakeDists.go
index fa61227..822b38c 100644
--- a/doMakeDists.go
+++ b/doMakeDists.go
@@ -8,7 +8,7 @@ import (
// makes the dists/ for 'apt update'
func doMakeDists(mirrorshome string) (string, error) {
if me.pb.BaseDir != mirrorshome {
- log.Info("Changing mirrors base directory", me.pb.BaseDir, mirrorshome)
+ log.Info("Changed mirrors base directory", me.pb.BaseDir, mirrorshome)
me.pb.BaseDir = mirrorshome
}