diff options
author | Connor Baker <connorbaker01@gmail.com> | 2021-12-03 22:16:02 -0500 |
---|---|---|
committer | Connor Baker <connorbaker01@gmail.com> | 2021-12-03 22:16:02 -0500 |
commit | 52f5fa948a4784b6a9b707770f4beee6a8674dee (patch) | |
tree | e038ea240a56157d7444f93ece99c372f7710133 /src/libfetchers/tarball.cc | |
parent | 2e606e87c44a8dc42664f8938eac1d4b63047dd6 (diff) |
Add support for .tar.gz shorthand (.tgz) to TarballInputScheme
Diffstat (limited to 'src/libfetchers/tarball.cc')
-rw-r--r-- | src/libfetchers/tarball.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libfetchers/tarball.cc b/src/libfetchers/tarball.cc index 031ccc5f7..69d020748 100644 --- a/src/libfetchers/tarball.cc +++ b/src/libfetchers/tarball.cc @@ -176,6 +176,7 @@ struct TarballInputScheme : InputScheme if (!hasSuffix(url.path, ".zip") && !hasSuffix(url.path, ".tar") + && !hasSuffix(url.path, ".tgz") && !hasSuffix(url.path, ".tar.gz") && !hasSuffix(url.path, ".tar.xz") && !hasSuffix(url.path, ".tar.bz2") |