From 9d308f58dadc5ba1a33a2ac7cb12cc898e7e70e1 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Wed, 5 Jan 2011 16:50:08 -0500 Subject: Do not nuke /var/db/pkg now that 2.0 has better handling --- usr/local/www/pkg_mgr_install.php | 2 -- 1 file changed, 2 deletions(-) (limited to 'usr/local') 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']); -- cgit v1.1