Skip to content
Snippets Groups Projects
Commit 7f5f8f1d authored by Axel Beckert's avatar Axel Beckert
Browse files

Finetune multiarch path compatible regexp further

Gbp-Dch: Ignore
parent cea8804e
Branches
Tags
No related merge requests found
......@@ -233,9 +233,9 @@ sub read_cache {
next unless $file =~ s{
^usr/
(?:share|lib)/
(?:\S+-\S+-\S+/)? # opt. arch. triplet, eg. x86_64-linux-gnu
(?:perl\d+/ # perl5/
| perl/(?:\d[\d.]+)/ # or perl/5.10/
| \S+-\S+-\S+/perl\d+/(?:\d[\d.]+)/ # x86_64-linux-gnu/perl5/5.22/
)
}{}x;
$cache->{apt_contents}{$file} = exists $cache->{apt_contents}{$file}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment