]> git.ipfire.org Git - people/ric9/pakfire.git/commitdiff
build: Don't overwrite package
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 11 Jan 2025 17:37:39 +0000 (17:37 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 11 Jan 2025 17:37:39 +0000 (17:37 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/pakfire/build.c

index 8c9f9e56befa6b2c8be253e74b646372a75f2925..f037a466235275bb354def165ac0930c07b0b7d1 100644 (file)
@@ -1237,7 +1237,7 @@ static int pakfire_build_package(struct pakfire_build* build, struct pakfire_par
                goto ERROR;
 
        // Add the package to the repository
-       r = pakfire_repo_add_archive(build->repo, archive, &pkg);
+       r = pakfire_repo_add_archive(build->repo, archive, NULL);
        if (r < 0)
                goto ERROR;