From cfde64b8b85c1fa6730b0b1655be66f2b9df51de Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 22 Feb 2009 14:31:34 -0500 Subject: * Add get_after_install_info() * Show installation instructions for package if they exist (after_install_info) --- usr/local/www/pkg_mgr_install.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'usr/local/www/pkg_mgr_install.php') diff --git a/usr/local/www/pkg_mgr_install.php b/usr/local/www/pkg_mgr_install.php index 603ff3f..4ea6819 100755 --- a/usr/local/www/pkg_mgr_install.php +++ b/usr/local/www/pkg_mgr_install.php @@ -179,7 +179,11 @@ switch($_GET['mode']) { $static_output .= "\n\nInstallation halted."; } else { update_status("Installation of " . htmlspecialchars($_GET['id']) . " completed."); - $static_output .= "\n\nInstallation completed. Please check to make sure that the package is configured from the respective menu then start the package."; + $status = get_after_install_info($_GET['id']); + if($status) + $static_output .= "\nInstallation completed.\n\n{$_GET['id']} setup instructions:\n\n{$status}"; + else + $static_output .= "\nInstallation completed. Please check to make sure that the package is configured from the respective menu then start the package."; } update_output_window($static_output); } -- cgit v1.1