diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-08-08 03:44:38 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-08-08 03:44:38 +0000 |
commit | 57fd44b3f5dcc2e33c348f4fd88f220bbadccdd7 (patch) | |
tree | 9bfad88e08a132edf56837ecaee5c21d1dbb8e85 | |
parent | abdb3f48f39499f46c2237575895361c0e124a6d (diff) | |
download | drakx-57fd44b3f5dcc2e33c348f4fd88f220bbadccdd7.tar drakx-57fd44b3f5dcc2e33c348f4fd88f220bbadccdd7.tar.gz drakx-57fd44b3f5dcc2e33c348f4fd88f220bbadccdd7.tar.bz2 drakx-57fd44b3f5dcc2e33c348f4fd88f220bbadccdd7.tar.xz drakx-57fd44b3f5dcc2e33c348f4fd88f220bbadccdd7.zip |
only load floppy module explictly during install (otherwise it causes ugly messages in bootloader-config)
-rw-r--r-- | perl-install/detect_devices.pm | 2 |
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 }) |