summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-02-15 23:28:56 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-02-15 23:28:56 +0000
commit8d73561fd83cd6cd458e332200c4b9bb0d2c84d0 (patch)
treea495f0c8ef4e531a81ba35606f223f198d7cc25b /perl-install
parent6813f2da0cb7268d8dcdc16a4915d62a71068891 (diff)
downloaddrakx-8d73561fd83cd6cd458e332200c4b9bb0d2c84d0.tar
drakx-8d73561fd83cd6cd458e332200c4b9bb0d2c84d0.tar.gz
drakx-8d73561fd83cd6cd458e332200c4b9bb0d2c84d0.tar.bz2
drakx-8d73561fd83cd6cd458e332200c4b9bb0d2c84d0.tar.xz
drakx-8d73561fd83cd6cd458e332200c4b9bb0d2c84d0.zip
fix typo
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/pkgs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index 96644b9cd..5998c9e6c 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -1070,7 +1070,7 @@ sub selectPackagesToUpgrade($$$;$$) {
my $check_obsoletes = sub {
my ($header) = @_;
(!$v || eval(versionCompare(c::headerGetEntry($header, 'version'), $v) . $o . 0)) &&
- (!$r || version_compare(c::headerGetEntry($header, 'version'), $v) != 0 ||
+ (!$r || versionCompare(c::headerGetEntry($header, 'version'), $v) != 0 ||
eval(versionCompare(c::headerGetEntry($header, 'release'), $r) . $o . 0)) or return;
++$obsoleted;
};