summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-08-23 10:41:26 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-08-23 10:41:26 +0000
commit60b0bde6fbdaaae3a61296170eef1d70ae0eaed1 (patch)
treecffe7c3527a5fa3a9bc06e755cd9660f431947c1
parent1c4b48e69403c64e9d72cea57528237eca0fc38a (diff)
downloadurpmi-60b0bde6fbdaaae3a61296170eef1d70ae0eaed1.tar
urpmi-60b0bde6fbdaaae3a61296170eef1d70ae0eaed1.tar.gz
urpmi-60b0bde6fbdaaae3a61296170eef1d70ae0eaed1.tar.bz2
urpmi-60b0bde6fbdaaae3a61296170eef1d70ae0eaed1.tar.xz
urpmi-60b0bde6fbdaaae3a61296170eef1d70ae0eaed1.zip
Unroll double negative
-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;