Revision 449a2694
Added by Colin Smith over 20 years ago
- Minor cleanup.
- Log pkg_add output in pkg_fetch_recursive.
usr/local/www/pkg_mgr_install.php | ||
---|---|---|
330 | 330 |
/* |
331 | 331 |
* parse the config file for this package and install neededtext items. |
332 | 332 |
* |
333 |
*/ |
|
333 |
*/
|
|
334 | 334 |
if(file_exists("/usr/local/pkg/" . $pkgent['name'] . ".xml")) { |
335 | 335 |
$package_conf = parse_xml_config_pkg("/usr/local/pkg/" . $pkgent['name'] . ".xml", "packagegui"); |
336 | 336 |
if($package_conf['modify_system']['item'] <> "") { |
... | ... | |
356 | 356 |
$afn_count = count($package_conf['additional_files_needed']) -1; |
357 | 357 |
foreach($package_conf['additional_files_needed'] as $afn) { |
358 | 358 |
$filename = get_filename_from_url($afn['item'][0]); |
359 |
fwrite($fd_log, "Downloading additional files needed for package " . $filename . " ...\n");
|
|
359 |
fwrite($fd_log, "Downloading additional files needed for package " . $filename . "...\n"); |
|
360 | 360 |
if ($i == $afn_count) { |
361 | 361 |
$static_orig = $static_output . $filename . ".\n"; |
362 | 362 |
} else { |
Also available in: Unified diff