mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
more bug fixes, none relevant to distros
This commit is contained in:
parent
222d818299
commit
5f30b3856c
6
inxi
6
inxi
|
@ -3211,8 +3211,7 @@ sub update_man {
|
||||||
}
|
}
|
||||||
# if ( $dl{'dl'} =~ /^(tiny|wget)$/){
|
# if ( $dl{'dl'} =~ /^(tiny|wget)$/){
|
||||||
# print "Checking Man page download URL...\n";
|
# print "Checking Man page download URL...\n";
|
||||||
# download_file('spider', $man_file_url);
|
# $b_downloaded = download_file('spider', $man_file_url);
|
||||||
# $b_downloaded = $?;
|
|
||||||
# }
|
# }
|
||||||
if ( $b_downloaded ){
|
if ( $b_downloaded ){
|
||||||
# if ( $dl{'dl'} =~ /^(tiny|wget)$/){
|
# if ( $dl{'dl'} =~ /^(tiny|wget)$/){
|
||||||
|
@ -3220,8 +3219,7 @@ sub update_man {
|
||||||
# }
|
# }
|
||||||
print "Downloading Man page file now.\n";
|
print "Downloading Man page file now.\n";
|
||||||
# returns perl, 1 for true, 0 for false, even when using shell tool returns
|
# returns perl, 1 for true, 0 for false, even when using shell tool returns
|
||||||
download_file('file', $man_file_url, $man_file_path );
|
$b_downloaded = download_file('file', $man_file_url, $man_file_path );
|
||||||
$b_downloaded = $?;
|
|
||||||
if ( !$b_downloaded ){
|
if ( !$b_downloaded ){
|
||||||
print "Oh no! Something went wrong downloading the Man file at: $man_file_url\n";
|
print "Oh no! Something went wrong downloading the Man file at: $man_file_url\n";
|
||||||
print "Check the error messages for what happened. Error: $b_downloaded\n";
|
print "Check the error messages for what happened. Error: $b_downloaded\n";
|
||||||
|
|
Loading…
Reference in a new issue