summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-08-08 03:44:38 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-08-08 03:44:38 +0000
commit57fd44b3f5dcc2e33c348f4fd88f220bbadccdd7 (patch)
tree9bfad88e08a132edf56837ecaee5c21d1dbb8e85 /perl-install
parentabdb3f48f39499f46c2237575895361c0e124a6d (diff)
downloaddrakx-backup-do-not-use-57fd44b3f5dcc2e33c348f4fd88f220bbadccdd7.tar
drakx-backup-do-not-use-57fd44b3f5dcc2e33c348f4fd88f220bbadccdd7.tar.gz
drakx-backup-do-not-use-57fd44b3f5dcc2e33c348f4fd88f220bbadccdd7.tar.bz2
drakx-backup-do-not-use-57fd44b3f5dcc2e33c348f4fd88f220bbadccdd7.tar.xz
drakx-backup-do-not-use-57fd44b3f5dcc2e33c348f4fd88f220bbadccdd7.zip
only load floppy module explictly during install (otherwise it causes ugly messages in bootloader-config)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/detect_devices.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index 30ba97147..a22af1115 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -52,7 +52,7 @@ sub zips() {
sub floppies() {
require modules;
- eval { modules::load("floppy") };
+ eval { modules::load("floppy") } if $::isInstall;
my @fds = $@ ? () : map {
my $info = (!dev_is_devfs() || -e "/dev/fd$_") && c::floppy_info(devices::make("fd$_"));
if_($info && $info ne '(null)', { device => "fd$_", devfs_device => "floppy/$_", media_type => 'fd', info => $info })