summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/urpm.pm b/urpm.pm
index 23ab989e..95bc53d5 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -2982,8 +2982,7 @@ sub install {
}
++$update;
}
- unless (!$options{nodeps} && (@l = $trans->check(%options)) ||
- !$options{noorder} && (@l = $trans->order)) {
+ if (($options{nodeps} || !(@l = $trans->check(%options))) && ($options{noorder} || !(@l = $trans->order))) {
my $fh;
#- assume default value for some parameter.
$options{delta} ||= 1000;