Closes: #717340
---
 bin/dh_phppear | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/bin/dh_phppear b/bin/dh_phppear
index 7a3c7b5..f431d10 100755
--- a/bin/dh_phppear
+++ b/bin/dh_phppear
@@ -119,6 +119,9 @@ 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/\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)));
-- 
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

Reply via email to