summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2004-12-10 10:58:04 +0000
committerDaouda Lo <daouda@mandriva.com>2004-12-10 10:58:04 +0000
commit01265db3f210ed3058463e94222a6fc4e5d5ec98 (patch)
tree0a6b19f1d5481b7700e4a5b2ad63e6030599061f /mdkapplet
parent0b68497c1cfa541f79b605450b756d5e5a1de0ac (diff)
downloadmgaonline-01265db3f210ed3058463e94222a6fc4e5d5ec98.tar
mgaonline-01265db3f210ed3058463e94222a6fc4e5d5ec98.tar.gz
mgaonline-01265db3f210ed3058463e94222a6fc4e5d5ec98.tar.bz2
mgaonline-01265db3f210ed3058463e94222a6fc4e5d5ec98.tar.xz
mgaonline-01265db3f210ed3058463e94222a6fc4e5d5ec98.zip
- correct typo in --debug mode
Diffstat (limited to 'mdkapplet')
-rwxr-xr-xmdkapplet2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdkapplet b/mdkapplet
index a2749937..276122dc 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -284,7 +284,7 @@ sub compareWithInstalled {
$p =~ /(.*)-(.*)-(.*)$/; my ($n, $v, $r) = ($1, $2, $3);
if ($name eq $n) {
my ($iu, $ir);
- if ($debug) { $iu = mdkonline::rpmvercmp($ver, $v); $ir = mdkonline::rpmvercmp($rel, $r) };
+ if ($debug) { $iu = mdkonline::rpm_ver_cmp($ver, $v); $ir = mdkonline::rpm_ver_cmp($rel, $r) };
if (mdkonline::rpm_ver_cmp($ver, $v) > 0 || mdkonline::rpm_ver_cmp($ver, $v) == 0 && mdkonline::rpm_ver_cmp($rel, $r) > 0) {
logIt("$name-$ver-$rel $n-$v-$r *** CMPVER=$iu ** CMPREL = $ir \n") if $debug;
$isUpdate = 1 and last;