Message ID | 20190113192524.25914-2-johannes@kyriasis.com |
---|---|
State | Accepted |
Headers | show |
Series | [PATCHv2,1/2] doc: Add pacsort manpage | expand |
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; }
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com> --- src/pacsort.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)