diff options
author | jim-p <jimp@pfsense.org> | 2012-06-15 22:06:58 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2012-06-15 22:06:58 -0400 |
commit | 2229d94e840239fee85c8583081c17aa74bf8425 (patch) | |
tree | ffc22b2d6fd9670883b9b149b5f53daca4135d99 /usr/local/www | |
parent | 72f99ce132cbf3d143880c032fc7df314f7b203b (diff) | |
download | pfsense-2229d94e840239fee85c8583081c17aa74bf8425.zip pfsense-2229d94e840239fee85c8583081c17aa74bf8425.tar.gz |
This is apparently breaking reinstalls. Revert "Actually make reinstallpkg remove the bionaries and really reinstall them"
This reverts commit 12b0fa564dc9b9ffe1773855e6ab528f4a5c7a5e.
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/pkg_mgr_install.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr/local/www/pkg_mgr_install.php b/usr/local/www/pkg_mgr_install.php index 811f172..8659b8e 100755 --- a/usr/local/www/pkg_mgr_install.php +++ b/usr/local/www/pkg_mgr_install.php @@ -141,6 +141,7 @@ switch($_GET['mode']) { update_output_window(file_get_contents("/tmp/pkg_mgr_{$id}.log")); break; case "reinstallxml": + case "reinstallpkg": delete_package_xml(htmlspecialchars($_GET['pkg'])); if (install_package(htmlspecialchars($_GET['pkg'])) < 0) { update_status(gettext("Package reinstallation failed.")); @@ -183,9 +184,6 @@ switch($_GET['mode']) { update_output_window($static_output); filter_configure(); break; - case "reinstallpkg": - update_status(gettext("Reinstall package {$_GET['pkg']}.")); - uninstall_package($_GET['pkg']); default: $status = install_package(htmlspecialchars($_GET['id'])); if($status == -1) { |