summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-08-20 15:02:11 +0000
committerFrancois Pons <fpons@mandriva.com>2002-08-20 15:02:11 +0000
commit7cc7f5ea8a52da7509b9f3044d0cfdce81ce69bf (patch)
tree4f0c247edde0b4b4644b1ce33e80d27764306fc3 /perl-install
parent648e506ce1d088f54b8658a755eedae984876304 (diff)
downloaddrakx-7cc7f5ea8a52da7509b9f3044d0cfdce81ce69bf.tar
drakx-7cc7f5ea8a52da7509b9f3044d0cfdce81ce69bf.tar.gz
drakx-7cc7f5ea8a52da7509b9f3044d0cfdce81ce69bf.tar.bz2
drakx-7cc7f5ea8a52da7509b9f3044d0cfdce81ce69bf.tar.xz
drakx-7cc7f5ea8a52da7509b9f3044d0cfdce81ce69bf.zip
fixed ldconfig not selected for installation.
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/pkgs.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index c6c3152c7..9c15a2ea8 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -848,8 +848,10 @@ sub installTransactionClosure {
unless ($_->{selected}) {
#- this medium is not selected, but we have to make sure no package are left
#- in $id2pkg.
- foreach ($_->{start} .. $_->{end}) {
- delete $id2pkg->{$_};
+ if (defined $_->{start} && defined $_->{end}) {
+ foreach ($_->{start} .. $_->{end}) {
+ delete $id2pkg->{$_};
+ }
}
#- anyway, examine the next one.
next;