summaryrefslogtreecommitdiff
path: root/doMakeDists.go
diff options
context:
space:
mode:
Diffstat (limited to 'doMakeDists.go')
-rw-r--r--doMakeDists.go9
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() {