summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-07-09 14:38:39 +0000
committerErmal Luçi <eri@pfsense.org>2009-07-09 14:38:39 +0000
commit07b73e3df17ee562545c66bf238e2712568a6d44 (patch)
tree0686945423ad08f8d06b42c62ba23acdd555a527 /etc
parent3bff737ee8f806aa6b523ed70a791d36591d6b33 (diff)
downloadpfsense-07b73e3df17ee562545c66bf238e2712568a6d44.zip
pfsense-07b73e3df17ee562545c66bf238e2712568a6d44.tar.gz
Add forgotten global so file creation actually works.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/pkg-utils.inc13
1 files changed, 6 insertions, 7 deletions
diff --git a/etc/inc/pkg-utils.inc b/etc/inc/pkg-utils.inc
index bacfdf3..80cbb8d 100644
--- a/etc/inc/pkg-utils.inc
+++ b/etc/inc/pkg-utils.inc
@@ -988,15 +988,14 @@ function squash_from_bytes($size, $round = "") {
}
function pkg_build_filter_rules() {
- global $config;
+ global $config, $g;
$pkgrules = "";
- $pkgrulesearly = "";
- $pkgnatrules = "";
- $pkgnatrulesearly = "";
- $pkgrdrrules = "";
- $pkgrdrrules = "";
- $pkgrdrrulesearly = "";
+ $pkgrulesearly = "";
+ $pkgnatrules = "";
+ $pkgnatrulesearly = "";
+ $pkgrdrrules = "";
+ $pkgrdrrulesearly = "";
if (is_array($config['installedpackages']['package'])) {
run_plugins("/usr/local/pkg");
foreach($config['installedpackages']['package'] as $pkg) {
OpenPOWER on IntegriCloud