Commit d6aa1908 authored by Chris Lamb's avatar Chris Lamb 💬

Also an exception for font files provided by "R" statistical computing...

Also an exception for font files provided by "R" statistical computing modules. (re. #930311 & #930369)
parent 3ced3d1b
Pipeline #50551 failed with stages
in 90 minutes and 6 seconds
...@@ -1649,10 +1649,12 @@ sub run { ...@@ -1649,10 +1649,12 @@ sub run {
tag 'duplicate-font-file', "$fname also in", $font_owner tag 'duplicate-font-file', "$fname also in", $font_owner
if ($pkg ne $font_owner and $type ne 'udeb'); if ($pkg ne $font_owner and $type ne 'udeb');
} elsif ($pkg !~ m/^(?:[ot]tf|t1|x?fonts)-/) { } elsif ($pkg !~ m/^(?:[ot]tf|t1|x?fonts)-/) {
tag 'font-in-non-font-package', $file; tag 'font-in-non-font-package', $file
unless $fname =~ m,^usr/lib/R/site-library/,;
} }
tag 'font-outside-font-dir', $file tag 'font-outside-font-dir', $file
unless $fname =~ m,^usr/share/fonts/,; unless $fname =~ m,^usr/share/fonts/,
or $fname =~ m,^usr/lib/R/site-library/,;
my $finfo = $file->file_info; my $finfo = $file->file_info;
if ($finfo =~ m/PostScript Type 1 font program data/) { if ($finfo =~ m/PostScript Type 1 font program data/) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment