Revision 23fc1ae8
Added by Ermal LUÇI about 14 years ago
etc/inc/pfsense-utils.inc | ||
---|---|---|
1546 | 1546 |
echo "\n<script language=\"JavaScript\">\nthis.document.forms[0].output.value = \"" . $log . "\";\n"; |
1547 | 1547 |
echo "this.document.forms[0].output.scrollTop = this.document.forms[0].output.scrollHeight;\n"; |
1548 | 1548 |
echo "</script>"; |
1549 |
} |
|
1549 |
} else |
|
1550 |
echo $text; |
|
1550 | 1551 |
/* ensure that contents are written out */ |
1551 | 1552 |
ob_flush(); |
1552 | 1553 |
} |
... | ... | |
2245 | 2246 |
} |
2246 | 2247 |
} |
2247 | 2248 |
|
2248 |
?> |
|
2249 |
?> |
etc/inc/pkg-utils.inc | ||
---|---|---|
481 | 481 |
$base_url = substr($base_url, 0, -1); |
482 | 482 |
$fetchto = "{$fetchdir}/apkg_{$filename}"; |
483 | 483 |
$static_output .= "\n" . str_repeat(" ", $dependlevel * 2 + 1) . "Downloading {$base_url}/{$filename} ... "; |
484 |
update_output_window($static_output); |
|
484 | 485 |
if (download_file_with_progress_bar("{$base_url}/{$filename}", $fetchto) !== true) { |
485 | 486 |
if ($base_url != $priv_url && download_file_with_progress_bar("{$priv_url}/{$filename}", $fetchto) !== true) { |
486 | 487 |
$static_output .= " could not download from there or {$priv_url}/{$filename}.\n"; |
Also available in: Unified diff
Show the package name that are geing downloaded even during console update