]> git.ipfire.org Git - pakfire.git/commitdiff
repo: Fix expression to find package archives
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 26 Aug 2023 09:52:58 +0000 (09:52 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 26 Aug 2023 09:52:58 +0000 (09:52 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/repo.c

index 5ae76ae921517bf45db5da733b54d3f82a14d8d5..10ccde02a8a5ccb90ab605788baa7e2fce676fe3 100644 (file)
@@ -1271,7 +1271,7 @@ PAKFIRE_EXPORT int pakfire_repo_scan(struct pakfire_repo* repo, int flags) {
        if (r)
                goto ERROR;
 
-       static const char* includes[] = { "*.pfm", NULL };
+       static const char* includes[] = { "**.pfm", NULL };
 
        // Find all package files
        r = pakfire_filelist_scan(filelist, path, includes, NULL, 0);