diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-03-27 17:15:23 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-03-27 17:15:23 +0000 |
commit | 6aaf7d1e438b9820164b94d3b548a858bb6abf68 (patch) | |
tree | 3634d28f369060cb1f2e452b8a6c32a077e14cda /urpmq | |
parent | 6b1205316bc4f4f521ed6ba6649dbfd2167a2f63 (diff) | |
download | urpmi-6aaf7d1e438b9820164b94d3b548a858bb6abf68.tar urpmi-6aaf7d1e438b9820164b94d3b548a858bb6abf68.tar.gz urpmi-6aaf7d1e438b9820164b94d3b548a858bb6abf68.tar.bz2 urpmi-6aaf7d1e438b9820164b94d3b548a858bb6abf68.tar.xz urpmi-6aaf7d1e438b9820164b94d3b548a858bb6abf68.zip |
perl_checker cleanups
Diffstat (limited to 'urpmq')
-rwxr-xr-x | urpmq | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -416,12 +416,12 @@ if ($options{list_aliases}) { } else { my $pkgs_text = join(' ', map { $_->name } @pkgs); if ($xml_info eq 'info') { - $urpm->{info}((int(@pkgs) == 1) ? + $urpm->{info}(int(@pkgs) == 1 ? N("no xml info for medium \"%s\", only partial result for package %s", $medium->{name}, $pkgs_text) : N("no xml info for medium \"%s\", only partial result for packages %s", $medium->{name}, $pkgs_text)); } else { - $urpm->{error}((int(@pkgs) == 1) ? - N("no xml info for medium \"%s\", unable to return any result for package %s",$medium->{name}, $pkgs_text) + $urpm->{error}(int(@pkgs == 1) ? + N("no xml info for medium \"%s\", unable to return any result for package %s", $medium->{name}, $pkgs_text) : N("no xml info for medium \"%s\", unable to return any result for packages %s", $medium->{name}, $pkgs_text)); } } @@ -463,7 +463,7 @@ if ($options{list_aliases}) { my $media = URPM::pkg2media($urpm->{media}, $pkg); $media && $updates_descr->{$media->{name}}{$pkg->name}; }; - if (my $description = ($updesc && $updesc->{description}) || $pkg->description) { + if (my $description = $updesc && $updesc->{description} || $pkg->description) { printf "%-12s:\n%s\n", "Description", $description; } if ($updesc) { |