diff options
Diffstat (limited to 'globetrotter/make_live')
-rwxr-xr-x | globetrotter/make_live | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |