diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2021-12-13 21:08:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-13 21:08:06 +0100 |
commit | ade870764a9e961c41d7adc41823b6b99bde1bff (patch) | |
tree | d2abe063bfe52fbe30b722a5bc8d15a3f87edc7d /src | |
parent | 46d86e06ba54dc708fa8fd7d0109845fa2ac402e (diff) | |
parent | 52f5fa948a4784b6a9b707770f4beee6a8674dee (diff) |
Merge pull request #5725 from ConnorBaker/master
Add support for .tar.gz shorthand (.tgz) to TarballInputScheme
Diffstat (limited to 'src')
-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") |