summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2011-12-07 18:29:04 +0000
committerThierry Vignaud <tv@mageia.org>2011-12-07 18:29:04 +0000
commit8738111177182ae0da1eb606c0d941c2eb114764 (patch)
treeeb65dd1f59ff8629edee9fc9c53996db833e58ae /perl-install
parent7c941303e1da5e9ab2ee89ce4555b3a184e4ce15 (diff)
downloaddrakx-8738111177182ae0da1eb606c0d941c2eb114764.tar
drakx-8738111177182ae0da1eb606c0d941c2eb114764.tar.gz
drakx-8738111177182ae0da1eb606c0d941c2eb114764.tar.bz2
drakx-8738111177182ae0da1eb606c0d941c2eb114764.tar.xz
drakx-8738111177182ae0da1eb606c0d941c2eb114764.zip
(floppies) minor perl_checker cleanup
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 a7ca9644b..5bf5bd366 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -54,7 +54,7 @@ sub floppies {
require modules;
state @fds;
state $legacy_already_detected;
- if (arch =~ /mips|arm/) {
+ if (arch() =~ /mips|arm/) {
$o_not_detect_legacy_floppies = 1;
}
if (!$o_not_detect_legacy_floppies && !$legacy_already_detected) {