summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2012-06-15 22:07:52 -0400
committerjim-p <jimp@pfsense.org>2012-06-15 22:07:52 -0400
commit3acbad17de844e6b619b0f47ddb148743e07d46d (patch)
treeb08a0780938686ff00d628c20b6ee61baf5d917a
parent5a61e863a562a5251c29576ac36e3fcb2b740656 (diff)
downloadpfsense-3acbad17de844e6b619b0f47ddb148743e07d46d.zip
pfsense-3acbad17de844e6b619b0f47ddb148743e07d46d.tar.gz
This apparently is breaking reinstalls. Revert "Actually make reinstallpkg remove the bionaries and really reinstall them"
This reverts commit 3ddb92a6a52e2345684c11da72ef6853b82d2915.
-rwxr-xr-xusr/local/www/pkg_mgr_install.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr/local/www/pkg_mgr_install.php b/usr/local/www/pkg_mgr_install.php
index 06522c2..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,10 +184,6 @@ switch($_GET['mode']) {
update_output_window($static_output);
filter_configure();
break;
- case "reinstallpkg":
- update_status(gettext("Reinstalling package {$_GET['pkg']}"));
- uninstall_package($_GET['pkg']);
- update_output_window($static_output);
default:
$status = install_package(htmlspecialchars($_GET['id']));
if($status == -1) {
OpenPOWER on IntegriCloud