Skip to content

Commit b160762

Browse files
committed
skip files when looking for binary packages
Not sure why this wasn’t a problem before o_O.
1 parent 7f03646 commit b160762

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cmd/debiman/render.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,11 @@ func walkContents(ctx context.Context, renderChan chan<- renderJob, whitelist ma
380380
if whitelist != nil && !whitelist[bfn] {
381381
continue
382382
}
383+
if bfn == "sourcesWithManpages.txt.gz" ||
384+
bfn == "index.html.gz" ||
385+
bfn == "sitemap.xml.gz" {
386+
continue
387+
}
383388

384389
bfn := bfn // copy
385390
dir := filepath.Join(*servingDir, sfi.Name(), bfn)

0 commit comments

Comments
 (0)