diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-04-26 22:31:24 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-04-26 22:31:24 +0000 |
commit | 64663962c02a1d0bebd2b1cf5014c3ea7bb5ade6 (patch) | |
tree | 7b397f49f1a48f3ee7e1950921b804470d9f18d4 | |
parent | c279a6b189978f4a90e2ab1760bdd24b39b6eae6 (diff) | |
download | pfsense-64663962c02a1d0bebd2b1cf5014c3ea7bb5ade6.zip pfsense-64663962c02a1d0bebd2b1cf5014c3ea7bb5ade6.tar.gz |
XML was not being parsed if pkg_config.xml already exists
-rw-r--r-- | etc/inc/pfsense-utils.inc | 2 |
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) { |