diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-10-28 20:51:07 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-10-28 20:51:07 +0000 |
commit | d056dbb5e6d9fac1ae32e43642f24be0c57c4007 (patch) | |
tree | f7185829675594ec94864f20dd895e983416be5a /lib/MDV/Draklive | |
parent | 8882c347c5d80b11be3d8c6683a8279375261dce (diff) | |
download | drakiso-d056dbb5e6d9fac1ae32e43642f24be0c57c4007.tar drakiso-d056dbb5e6d9fac1ae32e43642f24be0c57c4007.tar.gz drakiso-d056dbb5e6d9fac1ae32e43642f24be0c57c4007.tar.bz2 drakiso-d056dbb5e6d9fac1ae32e43642f24be0c57c4007.tar.xz drakiso-d056dbb5e6d9fac1ae32e43642f24be0c57c4007.zip |
move get_media_fs_module as method in MDV::Draklive::Media
Diffstat (limited to 'lib/MDV/Draklive')
-rw-r--r-- | lib/MDV/Draklive/Media.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/MDV/Draklive/Media.pm b/lib/MDV/Draklive/Media.pm index baf1d21..a6242c1 100644 --- a/lib/MDV/Draklive/Media.pm +++ b/lib/MDV/Draklive/Media.pm @@ -23,4 +23,10 @@ sub get_media_setting { $media->{$setting} || $media->get_storage_setting($setting); } +sub get_media_fs_module { + my ($media) = @_; + my $fs = $media->get_media_setting('fs'); + $fs eq 'iso9660' ? 'isofs' : $fs eq 'ext2' ? @{[]} : $fs; +} + 1; |