From 2dc264a41c379fdf70638dc8c9ecb55bc7820253 Mon Sep 17 00:00:00 2001 From: Colin Smith Date: Wed, 22 Jun 2005 19:23:48 +0000 Subject: Add service handler. --- etc/inc/pkg-utils.inc | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'etc') diff --git a/etc/inc/pkg-utils.inc b/etc/inc/pkg-utils.inc index e39b907..f34f07c 100644 --- a/etc/inc/pkg-utils.inc +++ b/etc/inc/pkg-utils.inc @@ -570,6 +570,16 @@ function install_package_xml($pkg) { $static_output .= "done.\n"; update_output_window($static_output); } + /* services */ + if($pkg_config['service'] != "") { + $static_output .= "\tServices... "; + update_output_window($static_output); + foreach($pkg_config['service'] as $service) { + $config['installedpackages']['service'][] = $service; + } + $static_output .= "done.\n"; + update_output_window($static_output); + } /* custom commands */ if($pkg_config['custom_php_install_command'] <> "") { $static_output .= "\tCustom commands... "; -- cgit v1.1