added dynamic package description tootips
updated tablesorter to v2.25.0 add tablesorter widgets (filter, saveSort, stickyHeaders, hover highlight) added cli options to packagemanager script
This commit is contained in:
@ -3,6 +3,7 @@
|
||||
// Progress bar for curl download
|
||||
function progress_bar($download_size, $downloaded_size, $upload_size = null, $uploaded_size = null)
|
||||
{
|
||||
ob_start();
|
||||
static $previousProgress = 0;
|
||||
|
||||
if ($download_size == 0)
|
||||
@ -29,12 +30,13 @@ function progress_bar($download_size, $downloaded_size, $upload_size = null, $up
|
||||
|
||||
echo $status_bar;
|
||||
ob_flush();
|
||||
flush();
|
||||
|
||||
|
||||
if($progress == 100) {
|
||||
echo "\n";
|
||||
}
|
||||
}
|
||||
ob_end_flush();
|
||||
}
|
||||
|
||||
// Download a file from given url
|
||||
@ -81,4 +83,4 @@ function file_check_sha($file, $sha){
|
||||
$return = ($sha_file == $sha) ? true : false;
|
||||
return $return;
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
Reference in New Issue
Block a user