From 9ff529d34ecc582c47f98aa39f185193170b7d76 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Fri, 1 Apr 2005 16:45:11 +0000 Subject: When presenting the list of media to deselect, group by CDs even when using the mini ISO --- perl-install/install_steps_gtk.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'perl-install/install_steps_gtk.pm') diff --git a/perl-install/install_steps_gtk.pm b/perl-install/install_steps_gtk.pm index 78819ef5e..411d0ceaf 100644 --- a/perl-install/install_steps_gtk.pm +++ b/perl-install/install_steps_gtk.pm @@ -643,6 +643,9 @@ sub deselectFoundMedia { my $totalsize = 0; foreach (@$hdlists) { (my $cd) = $_->[3] =~ /\b(?:CD|DVD) ?(\d+)\b/i; + if (!$cd) { #- test for mini-ISO + $cd = 1 if $_->[3] =~ /\bmini.?cd\b/i; + } if (!$cd || !@{$cdlist{$cd} || []}) { push @hdlist2, $_; $corresp[$i] = [ $i ]; -- cgit v1.2.1