summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2005-01-31 20:16:45 +0000
committerDaouda Lo <daouda@mandriva.com>2005-01-31 20:16:45 +0000
commit5bb95924d4af3924c99b106ef005b90c4da3a17a (patch)
tree959e718974aaf3907957a0f18cb4781e3988f68d /mdkapplet
parent8ab01af7b2377547b91163fdf6aa7225992d6e2d (diff)
downloadmgaonline-5bb95924d4af3924c99b106ef005b90c4da3a17a.tar
mgaonline-5bb95924d4af3924c99b106ef005b90c4da3a17a.tar.gz
mgaonline-5bb95924d4af3924c99b106ef005b90c4da3a17a.tar.bz2
mgaonline-5bb95924d4af3924c99b106ef005b90c4da3a17a.tar.xz
mgaonline-5bb95924d4af3924c99b106ef005b90c4da3a17a.zip
- escape kernel for checking updates
Diffstat (limited to 'mdkapplet')
-rwxr-xr-xmdkapplet2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdkapplet b/mdkapplet
index 3dadad97..9ca38d27 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -283,7 +283,7 @@ sub compareWithInstalled {
my $isUpdate = 0;
foreach my $p (@$t) {
$p =~ /(.*)-(.*)-(.*)$/; my ($n, $v, $r) = ($1, $2, $3);
- if ($name eq $n) {
+ if ($name eq $n && $name !~ /kernel/) {
my ($iu, $ir);
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) {