diff --git a/etc/inc/pkg-utils.inc b/etc/inc/pkg-utils.inc index 9be67ac643..2442c5f848 100644 --- a/etc/inc/pkg-utils.inc +++ b/etc/inc/pkg-utils.inc @@ -463,6 +463,13 @@ function install_package_xml($pkg) { } fclose($fd); + /* if a require exists, include it. this will + * show us where an error exists in a package + * instead of making us blindly guess + */ + if($pkg_info['include_file'] <> "") + require_once($pkg_info['include_file']); + /* pkg_add the package and its dependencies */ if($pkg_info['depends_on_package_base_url'] != "") { update_status("Installing " . $pkg_info['name'] . " and its dependencies.");