diff options
Diffstat (limited to 'doMakeDists.go')
| -rw-r--r-- | doMakeDists.go | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/doMakeDists.go b/doMakeDists.go new file mode 100644 index 0000000..fa61227 --- /dev/null +++ b/doMakeDists.go @@ -0,0 +1,17 @@ +package main + +import ( + "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("Changing mirrors base directory", me.pb.BaseDir, mirrorshome) + me.pb.BaseDir = mirrorshome + } + + s, err := me.pb.MakeDists() + return s, err +} |
