Re: Minor dh-r bug
On 3 April 2018 at 15:18, Andreas Tille wrote:
| It would help if you could somehow provide your preliminary packaging to
| test the changes without doing the migration work you probably have
https://salsa.debian.org/edd/r-cran-cluster
https://salsa.debian.org/edd/r-cran-matrix
| done. May be you also post your actual attempt to patch R.pm.
I did essentially what you did below. But I wasn't thinking straight as I
didn't change it in my pbuilder. Not enough coffee yesterday it seems.
The diff below should work.
Dirk
| Something like this
|
| $ git diff
| diff --git a/dh/R.pm b/dh/R.pm
| index f70905d..ea62392 100644
| --- a/dh/R.pm
| +++ b/dh/R.pm
| @@ -99,7 +99,7 @@ sub install {
|
| # Priority: Recommended should go in /library instead of /site-library
| my $libdir = "usr/lib/R/site-library";
| - if ($desc->{Priority} eq "Recommended") {
| + if (lc($desc->{Priority}) eq "recommended") {
| $libdir = "usr/lib/R/library";
| say "I: R package with Priority: $desc->{Priority}, installing in $libdir";
| }
--
http://dirk.eddelbuettel.com | @eddelbuettel | edd@debian.org
Reply to: