From 5cc996fb000749369a339b850c1f2f2218892537 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 9 Oct 2025 20:00:39 -0500 Subject: nearing ability to create dists/ --- doMakeDists.go | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 doMakeDists.go (limited to 'doMakeDists.go') 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 +} -- cgit v1.2.3