diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-09-16 13:56:51 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-09-16 13:56:51 +0000 |
commit | b15901a3b7983a00c3a80c7a8ecf09a58f744095 (patch) | |
tree | 1749e5aa5fe68ec179e61dc33e5e5485d1adeece /perl-install/network/adsl.pm | |
parent | 3c7892d15e60320425d3c712b569ebced38d8777 (diff) | |
download | drakx-b15901a3b7983a00c3a80c7a8ecf09a58f744095.tar drakx-b15901a3b7983a00c3a80c7a8ecf09a58f744095.tar.gz drakx-b15901a3b7983a00c3a80c7a8ecf09a58f744095.tar.bz2 drakx-b15901a3b7983a00c3a80c7a8ecf09a58f744095.tar.xz drakx-b15901a3b7983a00c3a80c7a8ecf09a58f744095.zip |
come on titi, no need to check we're root here
Diffstat (limited to 'perl-install/network/adsl.pm')
-rw-r--r-- | perl-install/network/adsl.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm index 77297f02c..45da4b227 100644 --- a/perl-install/network/adsl.pm +++ b/perl-install/network/adsl.pm @@ -230,14 +230,14 @@ lcp-echo-failure 3 if ($adsl_type =~ /^pp|^capi$/) { mkdir_p("$::prefix/etc/ppp"); - $in->do_pkgs->install('ppp') if !$>; + $in->do_pkgs->install('ppp'); my %packages = ( pppoa => [ qw(ppp-pppoatm) ], pppoe => [ qw(ppp-pppoe rp-pppoe) ], pptp => [ qw(pptp-linux) ], capi => [ qw(isdn4k-utils) ], #- capi4linux service ); - $in->do_pkgs->install(@{$packages{$adsl_type}}) if !$>; + $in->do_pkgs->install(@{$packages{$adsl_type}}); my $pty_option = exists $modems{$adsl_device}{server}{$adsl_type} ? "pty $modems{$adsl_device}{server}{$adsl_type}" : |