]> git.ipfire.org Git - pakfire.git/commitdiff
pakfire: Don't refresh the local repository sooner than the others
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 30 Jan 2025 16:02:13 +0000 (16:02 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 30 Jan 2025 16:02:13 +0000 (16:02 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/pakfire/pakfire.c

index b9387c057bf4fadfe8e2508d6afb4572f2a18709..faea7b57f8daa7bb35f28200d7396665c8811b45 100644 (file)
@@ -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);