diff options
-rw-r--r-- | urpm/install.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/urpm/install.pm b/urpm/install.pm index 0c0df043..b01ed034 100644 --- a/urpm/install.pm +++ b/urpm/install.pm @@ -147,7 +147,9 @@ sub install { } ++$update; } - if (($options{nodeps} || !(@l = $trans->check(%options))) && ($options{noorder} || !(@l = $trans->order))) { + if (!$options{nodeps} && (@l = $trans->check(%options))) { + } elsif (!$options{noorder} && (@l = $trans->order)) { + } else { my $fh; #- assume default value for some parameter. $options{delta} ||= 1000; |