I think this should do the job:
--- debian/local/pam-auth-update 2011-10-30 19:06:55 +0000 +++ debian/local/pam-auth-update 2013-04-15 19:06:23 +0000 @@ -686,7 +686,7 @@ } else { chomp; s/^\s+//; - $profile{$fieldname} .= "\n$_"; + $profile{$fieldname} .= "\n$_" if ($_); $profile{$fieldname} =~ s/^[\n\s]+//; } }
I think this should do the job:
--- debian/ local/pam- auth-update 2011-10-30 19:06:55 +0000 local/pam- auth-update 2013-04-15 19:06:23 +0000 $fieldname} .= "\n$_"; $fieldname} .= "\n$_" if ($_); $fieldname} =~ s/^[\n\s]+//;
+++ debian/
@@ -686,7 +686,7 @@
} else {
chomp;
s/^\s+//;
- $profile{
+ $profile{
$profile{
}
}