summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2011-01-05 16:50:08 -0500
committerScott Ullrich <sullrich@pfsense.org>2011-01-05 16:50:08 -0500
commit9d308f58dadc5ba1a33a2ac7cb12cc898e7e70e1 (patch)
tree16dc52dcbd77ab0cc7c3de0c14cb6e44ffb5586d /usr/local
parent9b1936193f0adfda87b060a5fb19270232f169a5 (diff)
downloadpfsense-9d308f58dadc5ba1a33a2ac7cb12cc898e7e70e1.zip
pfsense-9d308f58dadc5ba1a33a2ac7cb12cc898e7e70e1.tar.gz
Do not nuke /var/db/pkg now that 2.0 has better handling
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/pkg_mgr_install.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/usr/local/www/pkg_mgr_install.php b/usr/local/www/pkg_mgr_install.php
index 607f394..1abcae6 100755
--- a/usr/local/www/pkg_mgr_install.php
+++ b/usr/local/www/pkg_mgr_install.php
@@ -166,8 +166,6 @@ switch($_GET['mode']) {
update_output_window(sprintf(gettext("Could not find %s."), $_GET['pkg']));
break;
case "reinstallall":
- if ($config['installedpackages']['package'])
- exec("rm -rf /var/db/pkg/*");
if (is_array($config['installedpackages']['package']))
foreach($config['installedpackages']['package'] as $package)
$todo[] = array('name' => $package['name'], 'version' => $package['version']);
OpenPOWER on IntegriCloud