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

Add an exception for documentation outside of /usr/share/doc for "R"...

Add an exception for documentation outside of /usr/share/doc for "R" statistical computing modules; users expect them under /usr/lib/R/site-library. (Closes: #930311)
parent d93190af
Pipeline #50403 failed with stage
in 84 minutes and 15 seconds
......@@ -1553,6 +1553,10 @@ sub run {
foreach my $taboo ($DOCUMENTATION_FILE_REGEX->all) {
my $regex = $DOCUMENTATION_FILE_REGEX->value($taboo);
if($file->basename =~ m{$regex}xi) {
# No need for dh-r packages to automatically
# create overrides if we just allow them all to
# begin with.
next if $file->dirname eq 'usr/lib/R/site-library/';
# see #904852
next if $file->dirname =~ m{templates?(?:\.d)?/};
next
......
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