diff options
author | PiBa-NL <pba_2k3@yahoo.com> | 2017-03-26 16:23:30 +0200 |
---|---|---|
committer | PiBa-NL <pba_2k3@yahoo.com> | 2017-03-26 16:23:30 +0200 |
commit | bc0661b7b32a99016b9e71b0ece969f6584034c2 (patch) | |
tree | a7e96b9aa5638353ecac4e2c978cadb828a50b75 /src/etc | |
parent | dd844c430622fa68de1f868b62ec375d7131ce16 (diff) | |
download | pfsense-bc0661b7b32a99016b9e71b0ece969f6584034c2.zip pfsense-bc0661b7b32a99016b9e71b0ece969f6584034c2.tar.gz |
load package add-on tabs into config to avoid parsing all installed package xml's, fix tabgroup filter
Diffstat (limited to 'src/etc')
-rw-r--r-- | src/etc/inc/pkg-utils.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/etc/inc/pkg-utils.inc b/src/etc/inc/pkg-utils.inc index 09547b0..e576241 100644 --- a/src/etc/inc/pkg-utils.inc +++ b/src/etc/inc/pkg-utils.inc @@ -812,6 +812,9 @@ function install_package_xml($package_name) { } update_status(gettext("done.") . "\n"); } + if (is_array($pkg_config['tabs'])) { + $config['installedpackages']['package'][$pkgid]['tabs'] = $pkg_config['tabs']; + } } else { pkg_debug("Unable to find config file\n"); update_status(gettext("Loading package configuration... failed!") . "\n\n" . gettext("Installation aborted.")); |