aboutsummaryrefslogtreecommitdiff
path: root/src/libfetchers/tarball.cc
diff options
context:
space:
mode:
authorTimothy Klim <git@timothyklim.com>2021-05-29 16:03:26 +0700
committerTimothy Klim <git@timothyklim.com>2021-05-29 16:03:26 +0700
commit4da9ec772c54f17ac04bbc5bcb75140d13a29500 (patch)
treeff0e8578009ca2d1618b151552a3f48f4336ff8a /src/libfetchers/tarball.cc
parentb10256af51dfa929e8f916414d6f021dd45f2e1e (diff)
Add .tar.zst support for TarballInputScheme
Diffstat (limited to 'src/libfetchers/tarball.cc')
-rw-r--r--src/libfetchers/tarball.cc3
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;