package reprepro tags 820460 -moreinfo +patch thanks On Sun, Apr 10, 2016 at 12:11:16PM +0200, Bernhard R. Link wrote: > * Frédéric Brière <fbri...@fbriere.net> [160408 18:51]: > > Release files are still generated, despite having > > "DebIndices: Packages . .gz .xz" in my configuration. > > That file should no longer be generated, but reprepro will not delete an > old file if it is still there. Could you check if it is newly generated > or just the old file?
They are recreated every time. If I understand correctly, the solution is merely to not pass a default filename to exportmode_init(), right? (This does result in the *release argument no longer being used anywhere, though.)
diff --git a/distribution.c b/distribution.c index 91a31a0..46d0bcb 100644 --- a/distribution.c +++ b/distribution.c @@ -226,12 +226,12 @@ CFstartparse(distribution) { (void)distribution_free(n); return r; } - r = exportmode_init(&n->deb, true, "Release", "Packages"); + r = exportmode_init(&n->deb, true, NULL, "Packages"); if (RET_WAS_ERROR(r)) { (void)distribution_free(n); return r; } - r = exportmode_init(&n->dsc, false, "Release", "Sources"); + r = exportmode_init(&n->dsc, false, NULL, "Sources"); if (RET_WAS_ERROR(r)) { (void)distribution_free(n); return r;