summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-06-09 10:55:23 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-06-09 10:55:23 +0000
commit92d8675ed11f9c0b844b686dd2e5651454bd15f0 (patch)
tree4a92fc01b6abb739080b66a6777323686537a13e
parentacac4d536e6d0325742c6e8adf7d2e11f6a56cba (diff)
downloaddrakx-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-xglobetrotter/make_live2
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
}