From 7cc7f5ea8a52da7509b9f3044d0cfdce81ce69bf Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Tue, 20 Aug 2002 15:02:11 +0000 Subject: fixed ldconfig not selected for installation. --- perl-install/pkgs.pm | 6 ++++-- 1 file 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; -- cgit v1.2.1