diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-03-19 18:56:47 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-03-19 18:56:47 +0000 |
commit | 394b359511600068f016a150d6758886c4af76b0 (patch) | |
tree | 9bc56e8a60ccaebf53b3c91a4742b201d14094a8 /perl-install | |
parent | 4452aa80c8a15bebcad7f9ffcd79fc4b8210e6e4 (diff) | |
download | drakx-394b359511600068f016a150d6758886c4af76b0.tar drakx-394b359511600068f016a150d6758886c4af76b0.tar.gz drakx-394b359511600068f016a150d6758886c4af76b0.tar.bz2 drakx-394b359511600068f016a150d6758886c4af76b0.tar.xz drakx-394b359511600068f016a150d6758886c4af76b0.zip |
(floppies) simplify
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/detect_devices.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index d0f92694a..87166638e 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -54,9 +54,9 @@ sub floppies { require modules; state @fds; state $legacy_already_detected; - if (arch() =~ /mips|arm/) { - $o_not_detect_legacy_floppies = 1; - } + + $o_not_detect_legacy_floppies = 1 if arch() =~ /mips|arm/; + if (!$o_not_detect_legacy_floppies && !$legacy_already_detected) { $legacy_already_detected = 1; eval { modules::load("floppy") if $::isInstall }; |