summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-03-23 16:24:33 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-03-23 16:24:33 +0000
commitc76a519370feec63a44e7f5fd5c9940ce2f79a59 (patch)
treeac5e6f011e0562ba83e19baa442dd42ae26dac2a /perl-install
parentb1ea745924ed2ff06f2d5e36782e8399f0b2d9d0 (diff)
downloaddrakx-c76a519370feec63a44e7f5fd5c9940ce2f79a59.tar
drakx-c76a519370feec63a44e7f5fd5c9940ce2f79a59.tar.gz
drakx-c76a519370feec63a44e7f5fd5c9940ce2f79a59.tar.bz2
drakx-c76a519370feec63a44e7f5fd5c9940ce2f79a59.tar.xz
drakx-c76a519370feec63a44e7f5fd5c9940ce2f79a59.zip
ifix the dams stuff
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/any.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 543ea7e0f..d6f801398 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -407,8 +407,8 @@ sub pppConfig {
my ($in, $modem, $prefix, $install) = @_;
$modem or return;
- if_($modem->{device} ne "$prefix/dev/modem",
- symlinkf($modem->{device}, "$prefix/dev/modem") or log::l("creation of $prefix/dev/modem failed"));
+ symlinkf($modem->{device}, "$prefix/dev/modem") or log::l("creation of $prefix/dev/modem failed")
+ if $modem->{device} ne "/dev/modem";
$install->(qw(ppp)) unless $::testing;
my %toreplace;