Commit 100beda3 authored by Colin Watson's avatar Colin Watson

Fix mirroring of suites that have InRelease but not Release.gpg

parent 82bf56b2
......@@ -6,6 +6,7 @@ debmirror (1:2.31) UNRELEASED; urgency=medium
[ Colin Watson ]
* Fetch Packages-all and Contents-all if they exist (closes: #904927).
* Fix mirroring of suites that have InRelease but not Release.gpg.
-- Ondřej Nový <onovy@debian.org> Mon, 01 Oct 2018 10:31:31 +0200
......
......@@ -2196,7 +2196,7 @@ sub get_release {
remote_get("dists/$dist/Release.gpg", "$tempdir/.tmp");
# We only need one of InRelease and Release.gpg.
if ($num_errors == $t_errors || $num_errors == $inr_t_errors) {
if ($inr_t_errors == $t_errors || $num_errors == $inr_t_errors) {
@errlog = @t_errlog;
$num_errors = $t_errors;
}
......
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