summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-07-13 06:32:48 +0000
committerOlivier Blin <oblin@mandriva.org>2005-07-13 06:32:48 +0000
commit9b26cdb87523518b7913a824bd0b52a9e10ba66e (patch)
tree7bed7a55ad46021ab13aff31c6183b4919e6a774 /perl-install/standalone
parent890c98037f7d83af681a70930499de0ded25be4c (diff)
downloaddrakx-9b26cdb87523518b7913a824bd0b52a9e10ba66e.tar
drakx-9b26cdb87523518b7913a824bd0b52a9e10ba66e.tar.gz
drakx-9b26cdb87523518b7913a824bd0b52a9e10ba66e.tar.bz2
drakx-9b26cdb87523518b7913a824bd0b52a9e10ba66e.tar.xz
drakx-9b26cdb87523518b7913a824bd0b52a9e10ba66e.zip
use detect_devices::has_wireless()
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/drakroam2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/drakroam b/perl-install/standalone/drakroam
index 98869e311..3a251b48b 100755
--- a/perl-install/standalone/drakroam
+++ b/perl-install/standalone/drakroam
@@ -37,7 +37,7 @@ use Socket;
require_root_capability();
-unless (any { detect_devices::is_wireless_interface($_) } detect_devices::getNet()) {
+unless (detect_devices::has_wireless()) {
ugtk2::err_dialog(N("Error"), N("You do not have any wireless interface.
Run the \"%s\" assistant from the Mandriva Linux Control Center", N("Set up a new network interface (LAN, ISDN, ADSL, ...)")));
ugtk2::exit(0) if !$::testing;