From 360c6f23e984df9a11906d336013a0590dd07535 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 4 Mar 2003 12:50:35 +0000 Subject: in drakxservices, don't stop services if one is using the gtk frontend (since it allows one to start/stop services) this allows to skip stopping service "dm" (bug #2664) --- perl-install/services.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/services.pm b/perl-install/services.pm index 611e6d92f..a9727a560 100644 --- a/perl-install/services.pm +++ b/perl-install/services.pm @@ -264,7 +264,9 @@ sub doit { if ($after && cat_("$::prefix$script") =~ /^#\s+chkconfig:\s+-/m) { run_program::rooted($::prefix, "chkconfig", "--level", "35", $_, "on"); } - if (!$after && $::isStandalone) { + if (!$after && !$::isInstall && !$in->isa('interactive::gtk')) { + #- only done after install AND when not using the gtk frontend (since it allows one to start/stop services) + #- this allows to skip stopping service "dm" run_program::rooted($::prefix, $script, "stop"); } } -- cgit v1.2.1