summaryrefslogtreecommitdiffstats
path: root/perl-install/services.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-02-27 13:03:02 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-02-27 13:03:02 +0000
commit0ae3e05d2a0084dc96a30dae10ed18027a152d26 (patch)
treef3b44a08e44818524fb67d9261e4566a251f3ec1 /perl-install/services.pm
parent4ae1ea9b1e171d567f8c0678e4eab593907b6554 (diff)
downloaddrakx-backup-do-not-use-0ae3e05d2a0084dc96a30dae10ed18027a152d26.tar
drakx-backup-do-not-use-0ae3e05d2a0084dc96a30dae10ed18027a152d26.tar.gz
drakx-backup-do-not-use-0ae3e05d2a0084dc96a30dae10ed18027a152d26.tar.bz2
drakx-backup-do-not-use-0ae3e05d2a0084dc96a30dae10ed18027a152d26.tar.xz
drakx-backup-do-not-use-0ae3e05d2a0084dc96a30dae10ed18027a152d26.zip
perl_checker fix
Diffstat (limited to 'perl-install/services.pm')
-rw-r--r--perl-install/services.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/services.pm b/perl-install/services.pm
index 171020e32..611e6d92f 100644
--- a/perl-install/services.pm
+++ b/perl-install/services.pm
@@ -281,7 +281,7 @@ sub services {
if ($::isInstall) {
@l = sort { $a->[0] cmp $b->[0] } map { [ /([^\s:]+)/, /\bon\b/ ] } grep { !/:$/ } @raw_l;
} else {
- my $runlevel = my $runlevel = (split " ", `/sbin/runlevel`)[1];
+ my $runlevel = (split " ", `/sbin/runlevel`)[1];
@l = sort { $a->[0] cmp $b->[0] } map { [ /([^\s:]+)/, /^\t/ ? /\bon\b/ : /\b$runlevel:on\b/ ] } grep { !/:$/ } @raw_l;
}
[ map { $_->[0] } @l ], [ map { $_->[0] } grep { $_->[1] } @l ];