summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdraklive2
-rw-r--r--lib/MDV/Draklive/Media.pm3
2 files changed, 5 insertions, 0 deletions
diff --git a/draklive b/draklive
index ddceb98..9f7223f 100755
--- a/draklive
+++ b/draklive
@@ -1893,6 +1893,8 @@ sub complete_config {
$live->{settings}{arch} ||= chomp_(`rpm --eval '%{_target_cpu}'`);
$live->{media}{title} ||= "live";
+ bless $live->{media}, 'MDV::Draklive::Media';
+
mkdir_p($live->get_builddir);
mkdir_p($live->get_system_root);
$live->{mnt} ||= $live->get_builddir . "/mnt";
diff --git a/lib/MDV/Draklive/Media.pm b/lib/MDV/Draklive/Media.pm
new file mode 100644
index 0000000..c6aa625
--- /dev/null
+++ b/lib/MDV/Draklive/Media.pm
@@ -0,0 +1,3 @@
+package MDV::Draklive::Media;
+
+1;