Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/apt-mirror/apt-mirror.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranky Van Liedekerke <franky.van.liedekerke@gmail.com>2022-05-09 22:22:24 +0300
committerGitHub <noreply@github.com>2022-05-09 22:22:24 +0300
commita55ea4024344a6a8fcc36c520e48be2ce3039980 (patch)
treec1454ca189f75eedb8f5310ac7a05b6afe4af3e3
parent6c67dbf42f294993101f5be9df5d1925d9c107c4 (diff)
remove use of progress var
remove use of progress var
-rwxr-xr-xapt-mirror7
1 files changed, 3 insertions, 4 deletions
diff --git a/apt-mirror b/apt-mirror
index 389dca6..cd1f32c 100755
--- a/apt-mirror
+++ b/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 );