diff options
Diffstat (limited to 'perl-install/fs.pm')
-rw-r--r-- | perl-install/fs.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/fs.pm b/perl-install/fs.pm index bfbdc42d9..2f850c466 100644 --- a/perl-install/fs.pm +++ b/perl-install/fs.pm @@ -340,11 +340,11 @@ sub set_default_options { if ($options->{supermount} && $is_auto) { # this can't work, guessing :-( - $part->{type} = fs2type($part->{media_type} =~ /cdrom/ ? 'iso9660' : 'vfat'); + $part->{type} = fs2type($part->{media_type} eq 'cdrom' ? 'iso9660' : 'vfat'); $is_auto = 0; } - if ($part->{media_type} =~ /cdrom/) { + if ($part->{media_type} eq 'cdrom') { $options->{ro} = 1; } |