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 }