summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2011-03-04 20:50:37 +0000
committerErmal <eri@pfsense.org>2011-03-04 20:50:37 +0000
commitc53eb90304b81ac2ac320964b45e5d4052ae1335 (patch)
tree8b12ccef247521c503dccbb225f994971e7f538c /etc
parentce1942d6a3097915948eee340bdc2564ae84ea6b (diff)
downloadpfsense-c53eb90304b81ac2ac320964b45e5d4052ae1335.zip
pfsense-c53eb90304b81ac2ac320964b45e5d4052ae1335.tar.gz
Be smart and remove the needs package sync toggle since the begining otherwise not behaving packages might mess up the whole thing.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/pkg-utils.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/pkg-utils.inc b/etc/inc/pkg-utils.inc
index a97de3a..9af1c43 100644
--- a/etc/inc/pkg-utils.inc
+++ b/etc/inc/pkg-utils.inc
@@ -1152,6 +1152,8 @@ function squash_from_bytes($size, $round = "") {
function pkg_reinstall_all() {
global $g, $config;
+
+ @unlink('/conf/needs_package_sync');
$pkg_id = 0;
$todo = array();
if (is_array($config['installedpackages']['package']))
OpenPOWER on IntegriCloud