summaryrefslogtreecommitdiffstats
path: root/lib/MDV/Draklive
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-10-28 20:45:09 +0000
committerOlivier Blin <oblin@mandriva.com>2008-10-28 20:45:09 +0000
commitcf37ea864a0f4e3779e132ea3e68d4159825692b (patch)
treef51058ad43464aad21aa38c637c39b8097380c76 /lib/MDV/Draklive
parent1ed9d8e1506275eb66d2e1a822c5d66554d3b1d0 (diff)
downloaddraklive-cf37ea864a0f4e3779e132ea3e68d4159825692b.tar
draklive-cf37ea864a0f4e3779e132ea3e68d4159825692b.tar.gz
draklive-cf37ea864a0f4e3779e132ea3e68d4159825692b.tar.bz2
draklive-cf37ea864a0f4e3779e132ea3e68d4159825692b.tar.xz
draklive-cf37ea864a0f4e3779e132ea3e68d4159825692b.zip
move get_storage_setting as method in MDV::Draklive::Media
Diffstat (limited to 'lib/MDV/Draklive')
-rw-r--r--lib/MDV/Draklive/Media.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/MDV/Draklive/Media.pm b/lib/MDV/Draklive/Media.pm
index 2845fc8..27eea42 100644
--- a/lib/MDV/Draklive/Media.pm
+++ b/lib/MDV/Draklive/Media.pm
@@ -5,4 +5,10 @@ sub get_initrd_path {
'/' . $media->{storage} . '/initrd.gz';
}
+#- mainly for storage-specific subroutines
+sub get_storage_setting {
+ my ($media, $setting) = @_;
+ $storage{$media->{storage}}{$setting};
+}
+
1;