diff --git a/cfbs/internal_file_management.py b/cfbs/internal_file_management.py index b4a0a636..4c30fb95 100644 --- a/cfbs/internal_file_management.py +++ b/cfbs/internal_file_management.py @@ -232,7 +232,7 @@ def fetch_archive( # TODO: use Python modules instead of CLI tools? if archive_type.startswith(_SUPPORTED_TAR_TYPES): if shutil.which("tar"): - sh("cd %s; tar -xf %s" % (content_dir, archive_path)) + sh("cd %s; tar -xzf %s" % (content_dir, archive_path)) else: raise CFBSExitError("Working with .tar archives requires the 'tar' utility") elif archive_type == (".zip"):