]> git.ipfire.org Git - pakfire.git/commitdiff
repo: Since we now support virtual repositories, the don't have to be local
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 30 Jan 2025 11:10:04 +0000 (11:10 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 30 Jan 2025 11:10:04 +0000 (11:10 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/pakfire/repo.c

index 2554b3c0c5f91b707bce6f4462659263ba577553..ce1f0a680924bf60826447f12009745aaceeddce 100644 (file)
@@ -430,10 +430,6 @@ int pakfire_repo_import_archive(struct pakfire_repo* self,
        char path[PATH_MAX];
        int r;
 
-       // This repository must be local
-       if (!pakfire_repo_is_local(self))
-               return -ENOTSUP;
-
        // Add the metadata
        r = pakfire_archive_make_package(archive, self, &pkg);
        if (r < 0)