summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-04-26 22:31:24 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-04-26 22:31:24 +0000
commit64663962c02a1d0bebd2b1cf5014c3ea7bb5ade6 (patch)
tree7b397f49f1a48f3ee7e1950921b804470d9f18d4 /etc
parentc279a6b189978f4a90e2ab1760bdd24b39b6eae6 (diff)
downloadpfsense-64663962c02a1d0bebd2b1cf5014c3ea7bb5ade6.zip
pfsense-64663962c02a1d0bebd2b1cf5014c3ea7bb5ade6.tar.gz
XML was not being parsed if pkg_config.xml already exists
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/pfsense-utils.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index fcf80fd..d2becc6 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -403,8 +403,8 @@ function get_available_pkg_id($pkg_name) {
global $pkg_config, $g;
if(!is_array($pkg_config)) {
fetch_latest_pkg_config();
- $pkg_config = parse_xml_config_pkg("{$g['tmp_path']}/pkg_config.xml", "pfsensepkgs");
}
+ $pkg_config = parse_xml_config_pkg("{$g['tmp_path']}/pkg_config.xml", "pfsensepkgs");
$id = 0;
foreach($pkg_config['packages']['package'] as $pkg) {
if($pkg['name'] == $pkg_name) {
OpenPOWER on IntegriCloud