summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2004-02-06 17:37:01 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2004-02-06 17:37:01 +0000
commit7e2d7a182f9b8d21b7a49591e0a9f5533cc2d4ad (patch)
treed30b1ab87a9fef94b2c8a097af0231f67999a7d4
parent57620b2099fbec0076f965b919a53e240c0eb7bf (diff)
downloadurpmi-7e2d7a182f9b8d21b7a49591e0a9f5533cc2d4ad.tar
urpmi-7e2d7a182f9b8d21b7a49591e0a9f5533cc2d4ad.tar.gz
urpmi-7e2d7a182f9b8d21b7a49591e0a9f5533cc2d4ad.tar.bz2
urpmi-7e2d7a182f9b8d21b7a49591e0a9f5533cc2d4ad.tar.xz
urpmi-7e2d7a182f9b8d21b7a49591e0a9f5533cc2d4ad.zip
let's use the right operator when evaluating boolean expressions
-rwxr-xr-xurpmi4
1 files changed, 2 insertions, 2 deletions
diff --git a/urpmi b/urpmi
index ff53cee5..9b8e5721 100755
--- a/urpmi
+++ b/urpmi
@@ -399,7 +399,7 @@ if (@names) {
all => $all,
use_provides => $use_provides,
fuzzy => $urpm->{options}{fuzzy})
- or $force or exit 1;
+ || $force or exit 1;
}
if (@src_names) {
$urpm->search_packages(\%requested, [ @src_names ],
@@ -407,7 +407,7 @@ if (@src_names) {
use_provides => $use_provides,
fuzzy => $urpm->{options}{fuzzy},
src => 1)
- or $force or exit 1;
+ || $force or exit 1;
}
#- filter to add in packages selected required packages.