From: Michael Tremer Date: Thu, 30 Jan 2025 10:56:48 +0000 (+0000) Subject: cli: Use import function to import archives X-Git-Tag: 0.9.30~271 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3856b10c4d1fb8b839f6fbf62256a4a4ab8fa883;p=pakfire.git cli: Use import function to import archives Signed-off-by: Michael Tremer --- diff --git a/src/pakfire/pakfire.c b/src/pakfire/pakfire.c index 46c2e00b..c13ee4fd 100644 --- a/src/pakfire/pakfire.c +++ b/src/pakfire/pakfire.c @@ -1316,7 +1316,7 @@ static int pakfire_commandline_dist(struct pakfire* pakfire, struct pakfire_repo goto ERROR; // Add the archive to the repository - r = pakfire_repo_add_archive(repo, archive, pkg); + r = pakfire_repo_import_archive(repo, archive, pkg); if (r < 0) goto ERROR;