diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-02-23 12:39:47 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-02-23 12:39:47 +0000 |
commit | 6645fc3fa696eaf98c34b41731f8013f5f77429d (patch) | |
tree | 583282b863722ef25813485e05c8f538c50ba83d /Rpmdrake/pkg.pm | |
parent | 09fa58a5f166913442c8f3dcbb534be92fb5a4af (diff) | |
download | rpmdrake-6645fc3fa696eaf98c34b41731f8013f5f77429d.tar rpmdrake-6645fc3fa696eaf98c34b41731f8013f5f77429d.tar.gz rpmdrake-6645fc3fa696eaf98c34b41731f8013f5f77429d.tar.bz2 rpmdrake-6645fc3fa696eaf98c34b41731f8013f5f77429d.tar.xz rpmdrake-6645fc3fa696eaf98c34b41731f8013f5f77429d.zip |
add missing round brackets around ternary expressions
Diffstat (limited to 'Rpmdrake/pkg.pm')
-rwxr-xr-x | Rpmdrake/pkg.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm index 857eb7a5..84153091 100755 --- a/Rpmdrake/pkg.pm +++ b/Rpmdrake/pkg.pm @@ -488,9 +488,9 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-( interactive_msg(($to_install ? N("Confirmation") : N("Some packages need to be removed")), ($r ? (!$to_install ? join("\n\n", P("Remove %d package?", "Remove %d packages?", $remove_count, $remove_count), $r) : - $remove_count == 1 ? + ($remove_count == 1 ? N("The following package has to be removed for others to be upgraded:") - : N("The following packages have to be removed for others to be upgraded:") . join("\n\n", $r, if_($to_install, $to_install)) . N("Is it ok to continue?")) + : N("The following packages have to be removed for others to be upgraded:")) . join("\n\n", $r, if_($to_install, $to_install)) . N("Is it ok to continue?")) : $to_install), scroll => 1, yesno => 1) or do { |