Revision c9b08a50
Added by Jim Pingle over 14 years ago
etc/inc/pkg-utils.inc | ||
---|---|---|
427 | 427 |
$base_url = substr($base_url, 0, -1); |
428 | 428 |
$static_output .= "\n" . str_repeat(" ", $dependlevel * 2) . $pkgname . " "; |
429 | 429 |
$fetchto = "{$g['tmp_path']}/apkg_{$filename}"; |
430 |
$static_output .= "\n" . str_repeat(" ", $dependlevel * 2 + 1) . "Trying to download {$base_url}/{$filename} ... "; |
|
430 | 431 |
if (download_file_with_progress_bar("{$base_url}/{$filename}", $fetchto) !== true) { |
431 | 432 |
if ($base_url != $priv_url && download_file_with_progress_bar("{$priv_url}/{$filename}", $fetchto) !== true) { |
432 |
$static_output .= " could not download.\n"; |
|
433 |
$static_output .= " could not download from there or {$priv_url}/{$filename}.\n";
|
|
433 | 434 |
update_output_window($static_output); |
434 | 435 |
return false; |
435 | 436 |
} else if ($base_url == $priv_url) { |
Also available in: Unified diff
Show the full URL used to download package files, to aid in tracking down packages that do not install correctly.