From: Michael Tremer Date: Thu, 30 Jan 2025 16:02:13 +0000 (+0000) Subject: pakfire: Don't refresh the local repository sooner than the others X-Git-Tag: 0.9.30~252 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4874b96634a169b589da96510ea740181290e4bf;p=pakfire.git pakfire: Don't refresh the local repository sooner than the others Signed-off-by: Michael Tremer --- diff --git a/src/pakfire/pakfire.c b/src/pakfire/pakfire.c index b9387c05..faea7b57 100644 --- a/src/pakfire/pakfire.c +++ b/src/pakfire/pakfire.c @@ -618,13 +618,6 @@ static int pakfire_setup_local_repo(struct pakfire* self) { goto ERROR; } - // Immediately refresh the repository - r = pakfire_repo_refresh(local, 0); - if (r < 0) { - ERROR(self->ctx, "Could not refresh the local repository: %s\n", strerror(-r)); - goto ERROR; - } - ERROR: if (local) pakfire_repo_unref(local);