[PATCH 2/2] pacsort: Make fnmatch more lenient to allow everything makepkg allows
Johannes Löthberg
johannes at kyriasis.com
Sun Jan 13 19:25:24 UTC 2019
Signed-off-by: Johannes Löthberg <johannes at kyriasis.com>
---
src/pacsort.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/pacsort.c b/src/pacsort.c
index 3a9fe9c..e9e49e3 100644
--- a/src/pacsort.c
+++ b/src/pacsort.c
@@ -213,7 +213,7 @@ static struct input_t *input_new(const char *path, int pathlen)
return NULL;
}
- in->is_file = fnmatch("*-*.pkg.tar.?z", in->data, 0) == 0;
+ in->is_file = fnmatch("*-*.pkg.tar*", in->data, 0) == 0;
if(!in->is_file) {
return in;
}
--
2.20.1
More information about the pacman-contrib
mailing list