summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-07-08 14:56:59 +0000
committerErmal Luçi <eri@pfsense.org>2009-07-08 14:56:59 +0000
commitf69d50cead858602107a3c19891d8d960a60ad58 (patch)
treea53492c65e16fcc0c47ea5880a3cd99795bc1e69 /usr
parent07bcca251d818aa19822250acef5959fc20c20f0 (diff)
downloadpfsense-f69d50cead858602107a3c19891d8d960a60ad58.zip
pfsense-f69d50cead858602107a3c19891d8d960a60ad58.tar.gz
Since we could not use anchors now we need to reload the filter whenever we add/remove/reinstall a package.
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/pkg_mgr_install.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/usr/local/www/pkg_mgr_install.php b/usr/local/www/pkg_mgr_install.php
index 377e682..390839f 100755
--- a/usr/local/www/pkg_mgr_install.php
+++ b/usr/local/www/pkg_mgr_install.php
@@ -124,6 +124,7 @@ switch($_GET['mode']) {
update_status("Package deleted.");
$static_output .= "\nPackage deleted.";
update_output_window($static_output);
+ filter_configure();
break;
case "showlog":
$id = htmlspecialchars($_GET['pkg']);
@@ -139,6 +140,7 @@ switch($_GET['mode']) {
$static_output .= "\n\nPackage reinstalled.";
start_service(htmlspecialchars($_GET['pkg']));
update_output_window($static_output);
+ filter_configure();
break;
case "reinstallxml":
delete_package_xml(htmlspecialchars($_GET['pkg']));
@@ -146,6 +148,7 @@ switch($_GET['mode']) {
$static_output .= "\n\nPackage reinstalled.";
start_service(htmlspecialchars($_GET['pkg']));
update_output_window($static_output);
+ filter_configure();
break;
case "installedinfo":
$id = get_pkg_id(htmlspecialchars($_GET['pkg']));
@@ -179,6 +182,7 @@ switch($_GET['mode']) {
$static_output .= "\n\nAll packages reinstalled.";
start_service(htmlspecialchars($_GET['pkg']));
update_output_window($static_output);
+ filter_configure();
break;
default:
$status = install_package(htmlspecialchars($_GET['id']));
@@ -200,6 +204,8 @@ switch($_GET['mode']) {
fclose($fd);
echo "<script type='text/javascript'>document.location=\"pkg_mgr_install.php?mode=installedinfo&pkg={$_GET['id']}\";</script>";
}
+ filter_configure();
+ break;
}
// Delete all temporary package tarballs and staging areas.
@@ -213,4 +219,4 @@ conf_mount_ro();
if($fd_log)
fclose($fd_log);
-?> \ No newline at end of file
+?>
OpenPOWER on IntegriCloud