summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2001-03-23 15:40:13 +0000
committerdamien <damien@mandriva.com>2001-03-23 15:40:13 +0000
commit0ed15a87cabf68fbe163f23c4e4b9aa979097c7d (patch)
tree4226b8b7721f036508ef9295b835cbe1dc560ac2 /perl-install/any.pm
parent5a617b463f05071aff2f975d4f09c196098540f8 (diff)
downloaddrakx-0ed15a87cabf68fbe163f23c4e4b9aa979097c7d.tar
drakx-0ed15a87cabf68fbe163f23c4e4b9aa979097c7d.tar.gz
drakx-0ed15a87cabf68fbe163f23c4e4b9aa979097c7d.tar.bz2
drakx-0ed15a87cabf68fbe163f23c4e4b9aa979097c7d.tar.xz
drakx-0ed15a87cabf68fbe163f23c4e4b9aa979097c7d.zip
added /dev/modem in modem list selection
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r--perl-install/any.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index d015e5897..543ea7e0f 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -407,7 +407,8 @@ sub pppConfig {
my ($in, $modem, $prefix, $install) = @_;
$modem or return;
- symlinkf($modem->{device}, "$prefix/dev/modem") or log::l("creation of $prefix/dev/modem failed");
+ if_($modem->{device} ne "$prefix/dev/modem",
+ symlinkf($modem->{device}, "$prefix/dev/modem") or log::l("creation of $prefix/dev/modem failed"));
$install->(qw(ppp)) unless $::testing;
my %toreplace;