diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-11-20 14:58:56 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-11-20 14:58:56 +0000 |
commit | 172a413310c04d0013f91fd7478677ab206643de (patch) | |
tree | 0f56faef31b93057ba5558fc6f48c09b323e53d7 /perl-install | |
parent | e68dbd34e69109812b7e06040a37c49c7ba3819e (diff) | |
download | drakx-172a413310c04d0013f91fd7478677ab206643de.tar drakx-172a413310c04d0013f91fd7478677ab206643de.tar.gz drakx-172a413310c04d0013f91fd7478677ab206643de.tar.bz2 drakx-172a413310c04d0013f91fd7478677ab206643de.tar.xz drakx-172a413310c04d0013f91fd7478677ab206643de.zip |
fix regexp for new ldetect usb class
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/detect_devices.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index 8b44a7708..3f75e2cd9 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -202,7 +202,7 @@ sub isDvdDrive { sub isZipDrive { $_[0]{info} =~ /ZIP\s+\d+/ } #- accept ZIP 100, untested for bigger ZIP drive. sub isJazzDrive { $_[0]{info} =~ /\bJAZZ?\b/i } #- accept "iomega jaz 1GB" sub isLS120Drive { $_[0]{info} =~ /LS-?120|144MB/ } -sub isRemovableUsb { $_[0]{usb_media_type} && index($_[0]{usb_media_type}, 'Mass Storage|') == 0 && usb2removable($_[0]) } +sub isRemovableUsb { $_[0]{usb_media_type} && index($_[0]{usb_media_type}, 'Mass Storage') == 0 && usb2removable($_[0]) } sub isFloppyUsb { $_[0]{usb_driver} && $_[0]{usb_driver} eq 'Removable:floppy' } sub isRemovableDrive { my ($e) = @_; |