Skip to content

Commit

Permalink
skip files when looking for binary packages
Browse files Browse the repository at this point in the history
Not sure why this wasn’t a problem before o_O.
  • Loading branch information
stapelberg committed Aug 18, 2021
1 parent 7f03646 commit b160762
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cmd/debiman/render.go
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,11 @@ func walkContents(ctx context.Context, renderChan chan<- renderJob, whitelist ma
if whitelist != nil && !whitelist[bfn] {
continue
}
if bfn == "sourcesWithManpages.txt.gz" ||
bfn == "index.html.gz" ||
bfn == "sitemap.xml.gz" {
continue
}

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

0 comments on commit b160762

Please sign in to comment.