diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2006-11-27 09:30:17 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2006-11-27 09:30:17 +0000 |
commit | c6643d26300c504ceeed849db3277d5354834b98 (patch) | |
tree | e4f1621a9a6b57d568245b7e358fb7b0f2d9da28 /urpm/install.pm | |
parent | cb30542e781f9e6cefe7e2f939760a364e84d60f (diff) | |
download | urpmi-c6643d26300c504ceeed849db3277d5354834b98.tar urpmi-c6643d26300c504ceeed849db3277d5354834b98.tar.gz urpmi-c6643d26300c504ceeed849db3277d5354834b98.tar.bz2 urpmi-c6643d26300c504ceeed849db3277d5354834b98.tar.xz urpmi-c6643d26300c504ceeed849db3277d5354834b98.zip |
simplify
Diffstat (limited to 'urpm/install.pm')
-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; |