From 4ab87638c1909e87503de5d929440b136e2e6438 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 7 Nov 2006 10:03:15 +0000 Subject: indent the description and do not display on first line. this allow processing of the output of urpmf (as required by Erwan Velu) for now choosing not to filter description (as suggested by rgs) --- urpmf | 2 ++ 1 file changed, 2 insertions(+) (limited to 'urpmf') diff --git a/urpmf b/urpmf index 4dbbeb54..4155004a 100755 --- a/urpmf +++ b/urpmf @@ -129,6 +129,8 @@ my $sprintfargs = join(', ', map { '$urpm::currentmedia->{name}'; } elsif ($_ eq 'fullname') { 'scalar($pkg->fullname)'; + } elsif ($_ eq 'description') { + 'do { my $d = $pkg->description; $d =~ s/^/\t/mg; "\n$d" }'; } elsif ($multitags{$_}) { $multitag and $urpm->{fatal}->(1, N("Incorrect format: you may use only one multi-valued tag")); $multitag = $_; -- cgit v1.2.1