summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-11-19 00:12:12 +0000
committerErmal <eri@pfsense.org>2010-11-19 00:12:12 +0000
commitc132bdb0f5062f7282bb83f264bc2b84e78123c0 (patch)
treef78194090e24f7b93045c010a96deec2fe054a77 /etc
parent1883455aad0e14cb063ec87562117b1a43214515 (diff)
downloadpfsense-c132bdb0f5062f7282bb83f264bc2b84e78123c0.zip
pfsense-c132bdb0f5062f7282bb83f264bc2b84e78123c0.tar.gz
Honor the config parsed var if set.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/pkg-utils.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/pkg-utils.inc b/etc/inc/pkg-utils.inc
index 3d4b7bd..a83d0b4 100644
--- a/etc/inc/pkg-utils.inc
+++ b/etc/inc/pkg-utils.inc
@@ -325,7 +325,7 @@ function force_remove_package($pkg_name) {
* sync_package($pkg_name, $sync_depends = true, $show_message = false) Force a package to setup its configuration and rc.d files.
*/
function sync_package($pkg_name, $sync_depends = true, $show_message = false) {
- global $config;
+ global $config, $config_parsed;
if(empty($config['installedpackages']['package']))
return;
@@ -579,7 +579,7 @@ function eval_once($toeval) {
}
function install_package_xml($pkg) {
- global $g, $config, $static_output, $pkg_interface;
+ global $g, $config, $static_output, $pkg_interface, $config_parsed;
if(($pkgid = get_pkg_id($pkg)) == -1) {
$static_output .= "The {$pkg} package is not installed.\n\nInstallation aborted.";
OpenPOWER on IntegriCloud