From 52f5fa948a4784b6a9b707770f4beee6a8674dee Mon Sep 17 00:00:00 2001 From: Connor Baker Date: Fri, 3 Dec 2021 22:16:02 -0500 Subject: [PATCH] Add support for .tar.gz shorthand (.tgz) to TarballInputScheme --- src/libfetchers/tarball.cc | 1 + 1 file changed, 1 insertion(+) 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")