From b4e4f9467faefaaec68d0272f6fa776985810473 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Wed, 16 Mar 2005 11:45:15 +0000 Subject: Allow to specify "suppl" and "askmedia" in the kernel command-line as well as in the hdlists file --- perl-install/pkgs.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/pkgs.pm') diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm index aa9e54d11..4f2a983e5 100644 --- a/perl-install/pkgs.pm +++ b/perl-install/pkgs.pm @@ -396,7 +396,7 @@ sub psUsingHdlists { my $is_ftp = $o_hdlistsprefix =~ /^ftp:/; my $listf = install_any::getFile($o_hdlistsprefix && !$is_ftp ? "$o_hdlistsprefix/media/media_info/hdlists" : 'media/media_info/hdlists') or die "no hdlists found"; - my ($suppl_CDs, $deselectionAllowed) = (0, 0); + my ($suppl_CDs, $deselectionAllowed) = ($o->{supplmedia} || 0, $o->{askmedia} || 0); if (!$o_packages) { $o_packages = new URPM; #- add additional fields used by DrakX. -- cgit v1.2.1