summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}