diff options
author | damien <damien@mandriva.com> | 2001-03-23 15:40:13 +0000 |
---|---|---|
committer | damien <damien@mandriva.com> | 2001-03-23 15:40:13 +0000 |
commit | 0ed15a87cabf68fbe163f23c4e4b9aa979097c7d (patch) | |
tree | 4226b8b7721f036508ef9295b835cbe1dc560ac2 /perl-install/mouse.pm | |
parent | 5a617b463f05071aff2f975d4f09c196098540f8 (diff) | |
download | drakx-backup-do-not-use-0ed15a87cabf68fbe163f23c4e4b9aa979097c7d.tar drakx-backup-do-not-use-0ed15a87cabf68fbe163f23c4e4b9aa979097c7d.tar.gz drakx-backup-do-not-use-0ed15a87cabf68fbe163f23c4e4b9aa979097c7d.tar.bz2 drakx-backup-do-not-use-0ed15a87cabf68fbe163f23c4e4b9aa979097c7d.tar.xz drakx-backup-do-not-use-0ed15a87cabf68fbe163f23c4e4b9aa979097c7d.zip |
added /dev/modem in modem list selection
Diffstat (limited to 'perl-install/mouse.pm')
-rw-r--r-- | perl-install/mouse.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/mouse.pm b/perl-install/mouse.pm index bc7a9e565..815d64f7c 100644 --- a/perl-install/mouse.pm +++ b/perl-install/mouse.pm @@ -143,8 +143,7 @@ sub fullname2mouse { sub serial_ports() { map { "ttyS$_" } 0..7 } sub serial_port2text { - $_[0] =~ /ttyS (\d+)/x; - "$_[0] / COM" . ($1 + 1); + $_[0] =~ /ttyS (\d+)/x ? "$_[0] / COM" . ($1 + 1) : $_[0]; } sub read { |