summaryrefslogtreecommitdiffstats
path: root/perl-install/pkgs.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/pkgs.pm')
-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;
};