From 019270185624464d1964c2f0b35d5fff9c0dbd1f Mon Sep 17 00:00:00 2001 From: blundellc Date: Sat, 13 Sep 2008 13:28:21 +0000 Subject: [PATCH] work around lintian's extended-description-is-empty message. git-svn-id: svn://svn.r-forge.r-project.org/svnroot/cran2deb@137 edb9625f-4e0d-4859-8d74-9fd3b1da38cb --- pkg/trunk/R/debcontrol.R | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkg/trunk/R/debcontrol.R b/pkg/trunk/R/debcontrol.R index b5ea356..63d0bf0 100644 --- a/pkg/trunk/R/debcontrol.R +++ b/pkg/trunk/R/debcontrol.R @@ -145,6 +145,13 @@ generate_control <- function(pkg) { } else { long_descr <- pkg$description[1,'Description'] } + + if (length(long_descr)) { + # bypass lintian extended-description-is-empty for which we care not. + long_descr <- paste('The author/maintainer of this package' + ,'did not care to enter a longer description.') + } + # using \n\n.\n\n is not very nice, but is necessary to make sure # the longer description does not begin on the synopsis line --- R's # write.dcf does not appear to have a nicer way of doing this. -- 2.39.5