summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2004-09-30 09:33:45 +0000
committerDaouda Lo <daouda@mandriva.com>2004-09-30 09:33:45 +0000
commitc4214da47d4b021b5a2ab507f01206b287f441a1 (patch)
tree0dc42b1950fc8268af2168f227e5cf641c96fd20 /mdkapplet
parent886a67fbfc2f3a8bb0a480cad917c0c8bf5593ee (diff)
downloadmgaonline-c4214da47d4b021b5a2ab507f01206b287f441a1.tar
mgaonline-c4214da47d4b021b5a2ab507f01206b287f441a1.tar.gz
mgaonline-c4214da47d4b021b5a2ab507f01206b287f441a1.tar.bz2
mgaonline-c4214da47d4b021b5a2ab507f01206b287f441a1.tar.xz
mgaonline-c4214da47d4b021b5a2ab507f01206b287f441a1.zip
- fix ver cmp
Diffstat (limited to 'mdkapplet')
-rwxr-xr-xmdkapplet2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdkapplet b/mdkapplet
index f7647725..5ecc3dee 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -270,7 +270,7 @@ sub compareWithInstalled {
$p =~ /(.*)-(.*)-(.*)$/; my ($n, $v, $r) = ($1, $2, $3);
if ($name eq $n) {
#my $iu = mdkonline::rpmvercmp($ver, $v); my $ir = mdkonline::rpmvercmp($rel, $r);
- if (mdkonline::rpmvercmp($ver, $v) > 0 || mdkonline::rpmvercmp($ver, $v) == 0 && mdkonline::rpmvercmp($rel, $r) > 0) {
+ if (mdkonline::rpm_ver_cmp($ver, $v) > 0 || mdkonline::rpm_ver_cmp($ver, $v) == 0 && mdkonline::rpm_ver_cmp($rel, $r) > 0) {
#print "$name-$ver-$rel $n-$v-$r *** CMPVER=$iu ** CMPREL = $ir \n";
$isUpdate = 1 and last;
}