summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-02-17 05:16:23 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-02-17 05:16:23 +0000
commit5daf170812d1a524be530663b006b9a4140098b2 (patch)
treefdeaa9add9c3225ffaecc970b75326d2b9f2c963 /etc/inc
parentcfceefc6d97cc17413e37d7d31810f581177fe2b (diff)
downloadpfsense-5daf170812d1a524be530663b006b9a4140098b2.zip
pfsense-5daf170812d1a524be530663b006b9a4140098b2.tar.gz
Missing global $g and $config
Diffstat (limited to 'etc/inc')
-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 16aed1c..7b4aa95 100644
--- a/etc/inc/pkg-utils.inc
+++ b/etc/inc/pkg-utils.inc
@@ -741,6 +741,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