[dh-r] 02/02: Avoid double-indenting the long description

Gordon Ball chronitis-guest at moszumanska.debian.org
Fri Dec 1 20:55:08 UTC 2017


This is an automated email from the git hooks/post-receive script.

chronitis-guest pushed a commit to branch master
in repository dh-r.

commit 5e6e00dade21aba2829f607a76dc2c023352b63c
Author: Gordon Ball <gordon at chronitis.net>
Date:   Fri Dec 1 21:54:56 2017 +0100

    Avoid double-indenting the long description
---
 scripts/dh-update-R | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/dh-update-R b/scripts/dh-update-R
index f20c4bc..7a19f71 100755
--- a/scripts/dh-update-R
+++ b/scripts/dh-update-R
@@ -74,7 +74,7 @@ if ( ! -e 'debian/tests/control' & ! exists $dsrc->{Testsuite} ) {
 if ($opt_desc) {
     say "I: Updating package description";
     my $longdesc = $desc->{Description};
-    $longdesc =~ s/^\s*/ /gm;
+    $longdesc =~ s/^\s*//gm;
     $dbin->{Description} = "$desc->{Title}\n$longdesc";
 }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/dh-r.git



More information about the debian-science-commits mailing list