diff options
-rwxr-xr-x | usr/local/www/pkg_mgr_install.php | 5 |
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 |