summaryrefslogtreecommitdiffstats
path: root/etc/inc/pkg-utils.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-10-14 17:34:35 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-10-14 17:34:35 +0000
commit91dc2ecf6593378ac726e5ab975c1b8eafd46294 (patch)
tree77a69549fe7b51335f964a3e375d7bd0659d8bdf /etc/inc/pkg-utils.inc
parent11d300334ab68bf8fc9f6d51d99e5a0129a6efff (diff)
downloadpfsense-91dc2ecf6593378ac726e5ab975c1b8eafd46294.zip
pfsense-91dc2ecf6593378ac726e5ab975c1b8eafd46294.tar.gz
file_notice() requires notices.inc
Diffstat (limited to 'etc/inc/pkg-utils.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 e087949..e082797 100644
--- a/etc/inc/pkg-utils.inc
+++ b/etc/inc/pkg-utils.inc
@@ -150,6 +150,7 @@ function is_freebsd_pkg_installed($pkg) {
*/
function get_pkg_depends($pkg_name, $filetype = ".xml", $format = "files", $return_nosync = 1) {
global $config;
+ require_once("notices.inc");
$pkg_id = get_pkg_id($pkg_name);
if(!is_numeric($pkg_name)) {
if($pkg_id == -1) return -1; // This package doesn't really exist - exit the function.
OpenPOWER on IntegriCloud