summaryrefslogtreecommitdiff
path: root/doWalk.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-11 03:42:29 -0500
committerJeff Carr <[email protected]>2025-10-11 04:32:34 -0500
commit8561ed36abf865c261184dea856c42c20f01d155 (patch)
tree4f43330b8d1157c4f39475d4056e6e479a43e415 /doWalk.go
parent4a20397ed093cb4308e25c1a46ecce69bc0ffbc4 (diff)
add verify and a bunch of other stuff.v0.0.18v0.0.17
Diffstat (limited to 'doWalk.go')
-rw-r--r--doWalk.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/doWalk.go b/doWalk.go
index 7df92e9..b02a0d0 100644
--- a/doWalk.go
+++ b/doWalk.go
@@ -11,7 +11,7 @@ import (
)
func doWalk() (string, error) {
- os.Chdir(me.mirrorsDir)
+ os.Chdir(me.pb.BaseDir)
// 2. Scan pool directory for .deb files and gather info
log.Printf("Scanning for .deb files in %s\n", poolDir)
@@ -91,5 +91,5 @@ func doWalk() (string, error) {
me.pb.Save()
log.Printf("add %d new packages. Total packages.Len()=%d\n", counter, me.pb.Len())
- return "/home/mirrors/wit/ has been scanned for ne files", nil
+ return "mirrors/ has been scanned for new files", nil
}