diff --git a/decompress.go b/decompress.go index 198bb0edd..ccd730471 100644 --- a/decompress.go +++ b/decompress.go @@ -22,6 +22,7 @@ type Decompressor interface { var Decompressors map[string]Decompressor func init() { + tarDecompressor := new(tarDecompressor) tbzDecompressor := new(TarBzip2Decompressor) tgzDecompressor := new(TarGzipDecompressor) txzDecompressor := new(TarXzDecompressor) @@ -30,6 +31,7 @@ func init() { "bz2": new(Bzip2Decompressor), "gz": new(GzipDecompressor), "xz": new(XzDecompressor), + "tar": tarDecompressor, "tar.bz2": tbzDecompressor, "tar.gz": tgzDecompressor, "tar.xz": txzDecompressor,