diff options
| author | Jeff Carr <[email protected]> | 2025-10-11 03:42:29 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-11 04:32:34 -0500 |
| commit | 8561ed36abf865c261184dea856c42c20f01d155 (patch) | |
| tree | 4f43330b8d1157c4f39475d4056e6e479a43e415 /doMakeDists.go | |
| parent | 4a20397ed093cb4308e25c1a46ecce69bc0ffbc4 (diff) | |
Diffstat (limited to 'doMakeDists.go')
| -rw-r--r-- | doMakeDists.go | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/doMakeDists.go b/doMakeDists.go index b4d537f..7cdea78 100644 --- a/doMakeDists.go +++ b/doMakeDists.go @@ -2,18 +2,11 @@ package main import ( "os" - - "go.wit.com/log" ) // os.Chdir(me.mirrorsDir) // makes the dists/ for 'apt update' -func doMakeDists(mirrorshome string) (string, error) { - if me.pb.BaseDir != mirrorshome { - log.Info("Changed mirrors base directory", me.pb.BaseDir, mirrorshome) - me.pb.BaseDir = mirrorshome - } - +func doMakeDists() (string, error) { os.Chdir(me.pb.BaseDir) for p := range me.pb.IterAll() { |
