updated filepattern regexp
All checks were successful
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing

This commit is contained in:
Paul 2022-02-26 20:31:16 +01:00
parent 8e9b6e465e
commit 8aff3b10f1

2
src/cache/cache.go vendored
View File

@ -16,7 +16,7 @@ import (
"time" "time"
) )
var filepattern = regexp.MustCompile(`((In)?Release(.gpg)?|Packages.gz)`) var filepattern = regexp.MustCompile(`((In)?Release(.gpg)?|Packages.(gz|bz2))`)
// Reader is a generic interface for reading cache entries either from disk or // Reader is a generic interface for reading cache entries either from disk or
// directly attached to a downloader. // directly attached to a downloader.