diff options
author | Ermal <eri@pfsense.org> | 2011-03-04 20:50:37 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-03-04 20:50:37 +0000 |
commit | c53eb90304b81ac2ac320964b45e5d4052ae1335 (patch) | |
tree | 8b12ccef247521c503dccbb225f994971e7f538c /etc | |
parent | ce1942d6a3097915948eee340bdc2564ae84ea6b (diff) | |
download | pfsense-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.inc | 2 |
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'])) |