13 Jan
2019
13 Jan
'19
7:25 p.m.
Signed-off-by: Johannes Löthberg <johannes@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