remove use of progress var

remove use of progress var
pull/131/head
Franky Van Liedekerke 5 months ago committed by GitHub
parent 6c67dbf42f
commit a55ea40243
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      apt-mirror

@ -783,13 +783,12 @@ sub find_by_hash_sha256_files_in_release
}
}
print "Processing SHA256 by-hash files ["
if $progress;
print "Processing SHA256 by-hash files [";
foreach (@config_binaries)
{
my ( $arch, $uri, $distribution, @components ) = @{$_};
print "D" if $progress;
print "D";
if (@components)
{
$url = $uri . "/dists/" . $distribution . "/";
@ -802,7 +801,7 @@ foreach (@config_binaries)
}
}
print "]\n\n" if $progress;
print "]\n\n";
push( @index_urls, sort keys %urls_to_download );
download_urls( "by-hash-SHA256", sort keys %urls_to_download );

Loading…
Cancel
Save