diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-09-23 23:30:54 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-09-23 23:30:54 +0000 |
commit | 041bce7f1ab685a4290865e4eb2c2f5d2aaac285 (patch) | |
tree | d7305d5a8fb789cffc0c4795cc3ff7eff2b8585f /perl-install/services.pm | |
parent | 61b38e21c24cb2537b7105f5867745d0a569ec6f (diff) | |
download | drakx-041bce7f1ab685a4290865e4eb2c2f5d2aaac285.tar drakx-041bce7f1ab685a4290865e4eb2c2f5d2aaac285.tar.gz drakx-041bce7f1ab685a4290865e4eb2c2f5d2aaac285.tar.bz2 drakx-041bce7f1ab685a4290865e4eb2c2f5d2aaac285.tar.xz drakx-041bce7f1ab685a4290865e4eb2c2f5d2aaac285.zip |
no_comment
Diffstat (limited to 'perl-install/services.pm')
-rw-r--r-- | perl-install/services.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/services.pm b/perl-install/services.pm index fd1ea51ce..319e4ff49 100644 --- a/perl-install/services.pm +++ b/perl-install/services.pm @@ -88,7 +88,7 @@ xfs => __("Starts and stops the X Font Server at boot time and shutdown."), sub services { my ($prefix) = @_; my $cmd = $prefix ? "chroot $prefix" : ""; - my @l = map { [ /(\S+)/, /:on/ ] } sort `LANGUAGE=C $cmd chkconfig --list`; + my @l = map { [ /([^\s:]+)/, /\bon\b/ ] } grep { !/:$/ } sort `LANGUAGE=C $cmd chkconfig --list`; [ map { $_->[0] } @l ], [ mapgrep { $_->[1], $_->[0] } @l ]; } |