diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2011-01-05 16:50:08 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2011-01-05 16:50:08 -0500 |
commit | 9d308f58dadc5ba1a33a2ac7cb12cc898e7e70e1 (patch) | |
tree | 16dc52dcbd77ab0cc7c3de0c14cb6e44ffb5586d /usr/local | |
parent | 9b1936193f0adfda87b060a5fb19270232f169a5 (diff) | |
download | pfsense-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-x | usr/local/www/pkg_mgr_install.php | 2 |
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']); |