From 6d79d6f542853ad6d3be0adf967d52f2d7feec41 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 9 Jun 2005 10:55:18 +0000 Subject: detect both old and new LaCie models --- globetrotter/make_live | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'globetrotter') diff --git a/globetrotter/make_live b/globetrotter/make_live index 5d0e568ff..ee6ada9fa 100755 --- a/globetrotter/make_live +++ b/globetrotter/make_live @@ -63,7 +63,7 @@ my @suggestions = ( sub get_hds() { my $all_hds = fsedit::get_hds(); my $other; - ($all_hds->{hds}, $other) = partition { $_->{usb_description} eq 'LaCie|LaCie Hard Drive USB' } @{$all_hds->{hds}}; + ($all_hds->{hds}, $other) = partition { $_->{usb_description} =~ /^LaCie|LaCie Hard( |)Drive USB/ } @{$all_hds->{hds}}; my_exit("Your disk cannot be restored because it cannot be found!") if !$all_hds->{hds}[0]; $all_hds, $all_hds->{hds}[0]; # $other } -- cgit v1.2.1