diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-03-23 19:50:35 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-03-23 19:50:35 +0000 |
commit | f4bc86bc94aeeeffb8a82b16b38b760590b80bdf (patch) | |
tree | b5a904657487cd5dfec16ca195ee72b9098a086f /perl-install/services.pm | |
parent | cb09d79bc963f95780d214aa12e695d8f9e338e2 (diff) | |
download | drakx-f4bc86bc94aeeeffb8a82b16b38b760590b80bdf.tar drakx-f4bc86bc94aeeeffb8a82b16b38b760590b80bdf.tar.gz drakx-f4bc86bc94aeeeffb8a82b16b38b760590b80bdf.tar.bz2 drakx-f4bc86bc94aeeeffb8a82b16b38b760590b80bdf.tar.xz drakx-f4bc86bc94aeeeffb8a82b16b38b760590b80bdf.zip |
perl_checker cleanups
Diffstat (limited to 'perl-install/services.pm')
-rw-r--r-- | perl-install/services.pm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/perl-install/services.pm b/perl-install/services.pm index 203e4154b..6a77844e9 100644 --- a/perl-install/services.pm +++ b/perl-install/services.pm @@ -303,9 +303,7 @@ sub _set_service { $service = $service . ".service"; } run_program::rooted($::prefix, "systemctl", $enable ? "enable" : "disable", $service); - } - else - { + } else { my $script = "/etc/rc.d/init.d/$service"; run_program::rooted($::prefix, "chkconfig", $enable ? "--add" : "--del", $service); #- FIXME: handle services with no chkconfig line and with no Default-Start levels in LSB header |