diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2006-11-07 10:03:15 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2006-11-07 10:03:15 +0000 |
commit | 4ab87638c1909e87503de5d929440b136e2e6438 (patch) | |
tree | 9b26670d4ef8e1274d07cc92f3d4b8437cac01b3 | |
parent | 8d4e74b110be9be6e6963ea33d35b9b8c5b97dd6 (diff) | |
download | urpmi-4ab87638c1909e87503de5d929440b136e2e6438.tar urpmi-4ab87638c1909e87503de5d929440b136e2e6438.tar.gz urpmi-4ab87638c1909e87503de5d929440b136e2e6438.tar.bz2 urpmi-4ab87638c1909e87503de5d929440b136e2e6438.tar.xz urpmi-4ab87638c1909e87503de5d929440b136e2e6438.zip |
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)
-rwxr-xr-x | urpmf | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 = $_; |