diff options
author | Daouda Lo <daouda@mandriva.com> | 2005-01-31 20:16:45 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2005-01-31 20:16:45 +0000 |
commit | 5bb95924d4af3924c99b106ef005b90c4da3a17a (patch) | |
tree | 959e718974aaf3907957a0f18cb4781e3988f68d | |
parent | 8ab01af7b2377547b91163fdf6aa7225992d6e2d (diff) | |
download | mgaonline-5bb95924d4af3924c99b106ef005b90c4da3a17a.tar mgaonline-5bb95924d4af3924c99b106ef005b90c4da3a17a.tar.gz mgaonline-5bb95924d4af3924c99b106ef005b90c4da3a17a.tar.bz2 mgaonline-5bb95924d4af3924c99b106ef005b90c4da3a17a.tar.xz mgaonline-5bb95924d4af3924c99b106ef005b90c4da3a17a.zip |
- escape kernel for checking updates
-rwxr-xr-x | mdkapplet | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |