diff options
author | Franky Van Liedekerke <franky.van.liedekerke@gmail.com> | 2022-05-09 22:22:24 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-09 22:22:24 +0300 |
commit | a55ea4024344a6a8fcc36c520e48be2ce3039980 (patch) | |
tree | c1454ca189f75eedb8f5310ac7a05b6afe4af3e3 | |
parent | 6c67dbf42f294993101f5be9df5d1925d9c107c4 (diff) |
remove use of progress var
remove use of progress var
-rwxr-xr-x | apt-mirror | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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 ); |