diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-02-17 05:16:23 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-02-17 05:16:23 +0000 |
commit | 5daf170812d1a524be530663b006b9a4140098b2 (patch) | |
tree | fdeaa9add9c3225ffaecc970b75326d2b9f2c963 /etc | |
parent | cfceefc6d97cc17413e37d7d31810f581177fe2b (diff) | |
download | pfsense-5daf170812d1a524be530663b006b9a4140098b2.zip pfsense-5daf170812d1a524be530663b006b9a4140098b2.tar.gz |
Missing global $g and $config
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/pkg-utils.inc | 1 |
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"); |