Re: [cooker-commits] [rpm-commit] r259425 - rpm/urpmi/trunk/urpm

Thierry Vignaud <tvignaud-4qZELD6FgxhWk0Htik3J/[email protected]>
Newsgroups gmane.linux.mandrake.cooker.internationalization
Organization Mandriva
Message-ID <[email protected]>
cfergeau <svn-commit-4qZELD6FgxhWk0Htik3J/[email protected]> writes:

> Author: cfergeau
> Date: Thu Aug 20 11:51:11 2009
> New Revision: 259425
>
> Modified:
>    rpm/urpmi/trunk/urpm/orphans.pm
>
> Log:
> add new line after message suggesting to remove orphans

> Fixes bug #53003

it would be more user-friendly to split the new "\n" out of the string ...

> Modified: rpm/urpmi/trunk/urpm/orphans.pm
> ==============================================================================
> --- rpm/urpmi/trunk/urpm/orphans.pm	(original)
> +++ rpm/urpmi/trunk/urpm/orphans.pm	Thu Aug 20 11:51:11 2009
> @@ -359,8 +359,8 @@
>      my $orphans = get_orphans($urpm);
>      my @orphans = map { scalar $_->fullname } @$orphans or return '';
>  
> -    P("The following package:\n%s\nis now orphaned, if you wish to remove it, you can use \"urpme --auto-orphans\"",
> -      "The following packages:\n%s\nare now orphaned, if you wish to remove them, you can use \"urpme --auto-orphans\"",scalar(@orphans), add_leading_spaces(join("\n", sort @orphans)));
> +    P("The following package:\n%s\nis now orphaned, if you wish to remove it, you can use \"urpme --auto-orphans\"\n",
> +      "The following packages:\n%s\nare now orphaned, if you wish to remove them, you can use \"urpme --auto-orphans\"\n",scalar(@orphans), add_leading_spaces(join("\n", sort @orphans)));
>  }
>  
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.