summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-09-16 13:56:51 +0000
committerOlivier Blin <oblin@mandriva.org>2005-09-16 13:56:51 +0000
commitb15901a3b7983a00c3a80c7a8ecf09a58f744095 (patch)
tree1749e5aa5fe68ec179e61dc33e5e5485d1adeece /perl-install
parent3c7892d15e60320425d3c712b569ebced38d8777 (diff)
downloaddrakx-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')
-rw-r--r--perl-install/network/adsl.pm4
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}" :