From f9c8e64c6331f45caa8d9cdc1973f2d9742576a0 Mon Sep 17 00:00:00 2001 From: jim-p Date: Tue, 18 Jan 2011 15:28:25 -0500 Subject: Add a description to this write_config() so it's a little more obvious what it's doing in the logs. --- etc/inc/pkg-utils.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc/inc/pkg-utils.inc') diff --git a/etc/inc/pkg-utils.inc b/etc/inc/pkg-utils.inc index 2563e44..dd9dd7f 100644 --- a/etc/inc/pkg-utils.inc +++ b/etc/inc/pkg-utils.inc @@ -550,7 +550,7 @@ function install_package($package, $pkg_info = "") { if(file_exists('/conf/needs_package_sync')) @unlink('/conf/needs_package_sync'); conf_mount_ro(); - write_config(); + write_config("Intermediate config write during package install for {$pkg_info['name']}."); $static_output .= $to_output; update_output_window($static_output); /* install other package components */ @@ -951,7 +951,7 @@ function delete_package_xml($pkg) { * XXX: Otherwise inclusion of config.inc again invalidates actions taken. * Same is done during installation. */ - write_config(); + write_config("Intermediate config write during package removal for {$pkg}."); /* * If a require exists, include it. this will -- cgit v1.1