Closes: #717340
---
bin/dh_phppear | 3 +++
1 file changed, 3 insertions(+)
diff --git a/bin/dh_phppear b/bin/dh_phppear
index 7a3c7b5..257af94 100755
--- a/bin/dh_phppear
+++ b/bin/dh_phppear
@@ -119,9 +119,12 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
$summary =~ s/\.$//;
addsubstvar($package, phppear:summary, $summary);
my $description =
_shell_exec('/usr/share/pkg-php-tools/scripts/phppkginfo -d description .');
+ $description =~ s/^\s*//mg;
+ $description =~ s/^\*/ */mg;
local($Text::Wrap::separator) = '${Newline}';
# Wrap and replace empty lines with a dot
$description = join('${Newline}.${Newline}',
split('${Newline}${Newline}', wrap(, , $description)));
+ $description =~ s/\t+/ /g;
addsubstvar($package, phppear:description, $description);
addsubstvar($package, phppear:channel,
_shell_exec('/usr/share/pkg-php-tools/scripts/phppkginfo -d channel .'));
}
--
1.8.5.2
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org