summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-02-17 05:16:29 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-02-17 05:16:29 +0000
commitca5de7de98b8a8c93cae0070689e8614e744b063 (patch)
treefd1f431bdfc096e5bdeeda58b2fa93b98356fde6
parenta142c38d37ff90547a5e854e086ecdbe50772523 (diff)
downloadpfsense-ca5de7de98b8a8c93cae0070689e8614e744b063.zip
pfsense-ca5de7de98b8a8c93cae0070689e8614e744b063.tar.gz
Missing global $g and $config
-rw-r--r--etc/inc/pkg-utils.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/pkg-utils.inc b/etc/inc/pkg-utils.inc
index e414c72..1b74d6c 100644
--- a/etc/inc/pkg-utils.inc
+++ b/etc/inc/pkg-utils.inc
@@ -743,6 +743,7 @@ function delete_package($pkg, $pkgid) {
}
function delete_package_recursive($pkg) {
+ global $config, $g;
$info = "";
exec("/usr/sbin/pkg_info -r " . $pkg . " 2>&1", $info);
exec("cat {$g['tmp_path']}/y | /usr/sbin/pkg_delete " . $pkg ." > /dev/null 2>&1");
OpenPOWER on IntegriCloud