summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2000-08-31 16:07:14 +0000
committerFrancois Pons <fpons@mandriva.com>2000-08-31 16:07:14 +0000
commita776556def1b27c1a42aee9468e65f85cbf9f108 (patch)
treebae05320751fee70fc0d3f08e1294cc0953b2cd2
parent99cff96bc0b01debfc9824350029f5d4bbb48e79 (diff)
downloadurpmi-a776556def1b27c1a42aee9468e65f85cbf9f108.tar
urpmi-a776556def1b27c1a42aee9468e65f85cbf9f108.tar.gz
urpmi-a776556def1b27c1a42aee9468e65f85cbf9f108.tar.bz2
urpmi-a776556def1b27c1a42aee9468e65f85cbf9f108.tar.xz
urpmi-a776556def1b27c1a42aee9468e65f85cbf9f108.zip
*** empty log message ***
-rwxr-xr-xurpmi2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpmi b/urpmi
index c0377ab0..66e9b0f9 100755
--- a/urpmi
+++ b/urpmi
@@ -171,7 +171,7 @@ if (rpmtools::get_packages_installed('', \@packages_installed, [ 'basesystem' ])
foreach (@packages_installed) {
my $cmp = version_compare($pkg->{version}, $_->{version});
if ($cmp > 0 || $cmp == 0 && version_compare($pkg->{release}, $_->{release}) > 0) {
- push @packages, 'basesystem'; last;
+ push @packages, $pkg->{id}; last;
}
}
}