summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-10-29 09:17:24 +0000
committerOlivier Blin <oblin@mandriva.com>2008-10-29 09:17:24 +0000
commit34c21df04df148f4c0b002fdc9767b9fa06cb1a0 (patch)
tree5d7ea638d04c5bc2bd922973817e7c7d8636031d
parentcc5ad3f7570672c121753537f34fa492cf44add7 (diff)
downloaddrakiso-34c21df04df148f4c0b002fdc9767b9fa06cb1a0.tar
drakiso-34c21df04df148f4c0b002fdc9767b9fa06cb1a0.tar.gz
drakiso-34c21df04df148f4c0b002fdc9767b9fa06cb1a0.tar.bz2
drakiso-34c21df04df148f4c0b002fdc9767b9fa06cb1a0.tar.xz
drakiso-34c21df04df148f4c0b002fdc9767b9fa06cb1a0.zip
move detect_devices use where it belongs
-rwxr-xr-xdraklive1
-rw-r--r--lib/MDV/Draklive/Storage.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/draklive b/draklive
index c168f75..96b4c92 100755
--- a/draklive
+++ b/draklive
@@ -26,7 +26,6 @@ use common;
use list_modules;
use fs;
use modules;
-use detect_devices;
use run_program;
use Getopt::Long;
use Pod::Usage;
diff --git a/lib/MDV/Draklive/Storage.pm b/lib/MDV/Draklive/Storage.pm
index 4949d11..d6ac136 100644
--- a/lib/MDV/Draklive/Storage.pm
+++ b/lib/MDV/Draklive/Storage.pm
@@ -1,5 +1,7 @@
package MDV::Draklive::Storage;
+use detect_devices;
+
our %storage_types = (
cdrom => {
modules => 'bus/firewire|usb disk/firewire|hardware_raid|ide|sata|scsi|usb',