diff options
author | Timothy Klim <git@timothyklim.com> | 2021-05-29 16:03:26 +0700 |
---|---|---|
committer | Timothy Klim <git@timothyklim.com> | 2021-05-29 16:03:26 +0700 |
commit | 4da9ec772c54f17ac04bbc5bcb75140d13a29500 (patch) | |
tree | ff0e8578009ca2d1618b151552a3f48f4336ff8a /src/libfetchers/tarball.cc | |
parent | b10256af51dfa929e8f916414d6f021dd45f2e1e (diff) |
Add .tar.zst support for TarballInputScheme
Diffstat (limited to 'src/libfetchers/tarball.cc')
-rw-r--r-- | src/libfetchers/tarball.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libfetchers/tarball.cc b/src/libfetchers/tarball.cc index b8d7d2c70..257465bae 100644 --- a/src/libfetchers/tarball.cc +++ b/src/libfetchers/tarball.cc @@ -178,7 +178,8 @@ struct TarballInputScheme : InputScheme && !hasSuffix(url.path, ".tar") && !hasSuffix(url.path, ".tar.gz") && !hasSuffix(url.path, ".tar.xz") - && !hasSuffix(url.path, ".tar.bz2")) + && !hasSuffix(url.path, ".tar.bz2") + && !hasSuffix(url.path, ".tar.zst")) return {}; Input input; |