summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorColin Smith <colin@pfsense.org>2005-04-13 16:11:07 +0000
committerColin Smith <colin@pfsense.org>2005-04-13 16:11:07 +0000
commit89a0d34ff6e28461f06a9b91e031327c97b7bd14 (patch)
treed94a8d3bdc5bb3f0a055ca751fa84312df6bcdd4 /usr
parentf4f8d080c1c15e3ee2704226979e4a386f620f00 (diff)
downloadpfsense-89a0d34ff6e28461f06a9b91e031327c97b7bd14.zip
pfsense-89a0d34ff6e28461f06a9b91e031327c97b7bd14.tar.gz
* Write all output window messages to the log after successful installation.
* Comment out some code - please test.
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/pkg_mgr_install.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr/local/www/pkg_mgr_install.php b/usr/local/www/pkg_mgr_install.php
index 9a6cf12..5b5a770 100755
--- a/usr/local/www/pkg_mgr_install.php
+++ b/usr/local/www/pkg_mgr_install.php
@@ -320,10 +320,12 @@ foreach ($packages_to_install as $id) {
$config['installedpackages']['package'][$pkgid] = $pkgent;
}
+ /* This code appears to do nothing.
if (isset($id) && $a_out[$id])
$a_out[$id] = $pkgent;
else
$a_out[] = $pkgent;
+ */
if(!$_GET['mode'] == "reinstallall") {
$static_output .= "Saving updated package information... ";
@@ -468,7 +470,8 @@ foreach ($packages_to_install as $id) {
$static_output .= "\nPackage installation successful.";
update_output_window($static_output);
fwrite($fd_log, "Package installation completed.\n");
- log_error("Package " . $pkgent['name'] . " installation completed okay.");
+ log_error("Package " . $pkgent['name'] . " installation completed successfully.");
+ fwrite($fd_log, "Status window output:\n" . $static_output);
}
// close log
OpenPOWER on IntegriCloud