diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2005-06-09 10:55:23 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2005-06-09 10:55:23 +0000 |
commit | 92d8675ed11f9c0b844b686dd2e5651454bd15f0 (patch) | |
tree | 4a92fc01b6abb739080b66a6777323686537a13e | |
parent | acac4d536e6d0325742c6e8adf7d2e11f6a56cba (diff) | |
download | drakx-92d8675ed11f9c0b844b686dd2e5651454bd15f0.tar drakx-92d8675ed11f9c0b844b686dd2e5651454bd15f0.tar.gz drakx-92d8675ed11f9c0b844b686dd2e5651454bd15f0.tar.bz2 drakx-92d8675ed11f9c0b844b686dd2e5651454bd15f0.tar.xz drakx-92d8675ed11f9c0b844b686dd2e5651454bd15f0.zip |
detect both old and new LaCie models
-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 } |