Commit e126390c authored by Colin Watson's avatar Colin Watson

Fix regression in 1:2.20 that broke mirroring of suites that have Release.gpg but not InRelease.

parent 77783119
debmirror (1:2.22) UNRELEASED; urgency=medium
* Fix regression in 1:2.20 that broke mirroring of suites that have
Release.gpg but not InRelease.
-- Colin Watson <cjwatson@debian.org> Thu, 17 Mar 2016 12:41:33 +0000
debmirror (1:2.21) unstable; urgency=medium
* Generate trace file using LC_ALL=C (closes: #817721).
......
......@@ -2114,13 +2114,14 @@ sub get_release {
my $t_errors = $num_errors;
remote_get("dists/$dist/InRelease", "$tempdir/.tmp");
# We don't care about Release.gpg if we have InRelease.
my @inr_t_errlog = @errlog;
my $inr_t_errors = $num_errors;
remote_get("dists/$dist/Release.gpg", "$tempdir/.tmp");
if ($inr_t_errors == $t_errors) {
@errlog = @inr_t_errlog;
$num_errors = $inr_t_errors;
# We only need one of InRelease and Release.gpg.
if ($num_errors == $t_errors || $num_errors == $inr_t_errors) {
@errlog = @t_errlog;
$num_errors = $t_errors;
}
if (! $check_gpg) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment