Revision 2ba6bed1
Added by Bill Marquette over 20 years ago
etc/inc/pfsense-utils.inc | ||
---|---|---|
408 | 408 |
if(isset($config['system']['alt_pkgconfig_url']['enabled'])) { |
409 | 409 |
$pkg_config_location = $config['system']['alt_pkgconfig_url']['pkgconfig_base_url'] . $config['system']['alt_pkgconfig_url']['pkgconfig_filename']; |
410 | 410 |
$pkg_config_base_url = $config['system']['alt_pkgconfig_url']['pkgconfig_base_url']; |
411 |
} |
|
411 | 412 |
mwexec("/usr/bin/fetch -o {$g['tmp_path']}/pkg_config.xml {$pkg_config_location}"); |
412 | 413 |
if(!file_exists("{$g['tmp_path']}/pkg_config.xml")) { |
413 | 414 |
print_info_box_np("Could not download pkg_config.xml from " . $pkg_config_base_url . ". Check your DNS settings."); |
414 | 415 |
die; |
415 |
} |
|
416 | 416 |
} |
417 | 417 |
} |
418 | 418 |
return; |
Also available in: Unified diff
move brace to the right place