summaryrefslogtreecommitdiffstats
path: root/perl-install/devices.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-09-18 12:37:35 +0000
committerThierry Vignaud <tv@mandriva.org>2009-09-18 12:37:35 +0000
commit5b04ff5558a1c7a9350cfdc5dd7c1513c8803bc1 (patch)
treec2498a367d03ffc554013d54dd3e8a8566b33bef /perl-install/devices.pm
parent21ece3d426ae4deaef7c32e3ddaac5a1238306f7 (diff)
downloaddrakx-5b04ff5558a1c7a9350cfdc5dd7c1513c8803bc1.tar
drakx-5b04ff5558a1c7a9350cfdc5dd7c1513c8803bc1.tar.gz
drakx-5b04ff5558a1c7a9350cfdc5dd7c1513c8803bc1.tar.bz2
drakx-5b04ff5558a1c7a9350cfdc5dd7c1513c8803bc1.tar.xz
drakx-5b04ff5558a1c7a9350cfdc5dd7c1513c8803bc1.zip
(should_prefer_UUID) simplify
Diffstat (limited to 'perl-install/devices.pm')
-rw-r--r--perl-install/devices.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/devices.pm b/perl-install/devices.pm
index 783e0800c..bdac41a8a 100644
--- a/perl-install/devices.pm
+++ b/perl-install/devices.pm
@@ -216,7 +216,7 @@ sub prefix_for_dev {
sub should_prefer_UUID {
my ($dev) = @_;
- $dev =~ /^(hd|sd|vd)/;
+ $dev =~ /^([hsv]d)/;
}
sub symlink_now_and_register {