[pkg-php-pear] Bug#717340: [PATCH] Remove tabs from Description

David Prévot taffit at debian.org
Tue Nov 26 18:01:16 UTC 2013


Partially addresses #717340.
---
 bin/dh_phppear | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bin/dh_phppear b/bin/dh_phppear
index 7a3c7b5..a8d3665 100755
--- a/bin/dh_phppear
+++ b/bin/dh_phppear
@@ -119,6 +119,7 @@ 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/\t//g;
 		local($Text::Wrap::separator) = '${Newline}';
 		# Wrap and replace empty lines with a dot
 		$description = join('${Newline}.${Newline}', split('${Newline}${Newline}', wrap("", "", $description)));
-- 
1.8.4.4



More information about the pkg-php-pear mailing list