From 38831b8b322b5818446765c3b7bd335b4974f425 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Thu, 19 Aug 2021 08:33:54 +0200 Subject: [PATCH] also ignore .nobackup --- cmd/debiman/render.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/debiman/render.go b/cmd/debiman/render.go index 5e6a72b..07e103b 100644 --- a/cmd/debiman/render.go +++ b/cmd/debiman/render.go @@ -382,7 +382,8 @@ func walkContents(ctx context.Context, renderChan chan<- renderJob, whitelist ma } if bfn == "sourcesWithManpages.txt.gz" || bfn == "index.html.gz" || - bfn == "sitemap.xml.gz" { + bfn == "sitemap.xml.gz" || + bfn == ".nobackup" { continue }