summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-07-08 01:21:42 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-07-08 01:21:42 +0000
commit149bb85110e0f6de5f16d8acbb636644c4fb114d (patch)
tree73a8d37d44e3e7f436118d7d62d353b8111f2324 /perl-install/detect_devices.pm
parent0dbe0e74dd84b15f5949035455e3ef1fa568b728 (diff)
downloaddrakx-149bb85110e0f6de5f16d8acbb636644c4fb114d.tar
drakx-149bb85110e0f6de5f16d8acbb636644c4fb114d.tar.gz
drakx-149bb85110e0f6de5f16d8acbb636644c4fb114d.tar.bz2
drakx-149bb85110e0f6de5f16d8acbb636644c4fb114d.tar.xz
drakx-149bb85110e0f6de5f16d8acbb636644c4fb114d.zip
- rename add_alias() into set_alias()
- create set_sound_slot() and use it
Diffstat (limited to 'perl-install/detect_devices.pm')
-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 be21dac4b..5e573574d 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -441,7 +441,7 @@ sub getSerialModem {
my @devs = pcmcia_probe();
foreach my $modem (@modems) {
#- add an alias for macserial on PPC
- modules::add_alias('serial', $serdev) if arch() =~ /ppc/ && $modem->{device};
+ modules::set_alias('serial', $serdev) if arch() =~ /ppc/ && $modem->{device};
foreach (@devs) { $_->{type} =~ /serial/ and $modem->{device} = $_->{device} }
}
@modems;