diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2005-06-09 10:55:18 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2005-06-09 10:55:18 +0000 |
commit | 6d79d6f542853ad6d3be0adf967d52f2d7feec41 (patch) | |
tree | 9fe298e0da616b83600146364a614a7ade593828 /globetrotter | |
parent | b446efbf85f670e70893844a59f37f8d66e36fde (diff) | |
download | drakx-6d79d6f542853ad6d3be0adf967d52f2d7feec41.tar drakx-6d79d6f542853ad6d3be0adf967d52f2d7feec41.tar.gz drakx-6d79d6f542853ad6d3be0adf967d52f2d7feec41.tar.bz2 drakx-6d79d6f542853ad6d3be0adf967d52f2d7feec41.tar.xz drakx-6d79d6f542853ad6d3be0adf967d52f2d7feec41.zip |
detect both old and new LaCie models
Diffstat (limited to 'globetrotter')
-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 } |