diff --git a/lib/omnibus/fetchers/net_fetcher.rb b/lib/omnibus/fetchers/net_fetcher.rb index 0ac2f19ae..a7210ff6b 100644 --- a/lib/omnibus/fetchers/net_fetcher.rb +++ b/lib/omnibus/fetchers/net_fetcher.rb @@ -235,7 +235,7 @@ def extract compression_switch = "z" if downloaded_file.end_with?("gz") compression_switch = "--lzma -" if downloaded_file.end_with?("lzma") compression_switch = "j" if downloaded_file.end_with?("bz2") - compression_switch = "J" if downloaded_file.end_with?("xz") + #compression_switch = "J" if downloaded_file.end_with?("xz") if Ohai["platform"] == "windows" if downloaded_file.end_with?(*TAR_EXTENSIONS) && source[:extract] != :seven_zip @@ -322,7 +322,7 @@ def extract_command; end # @return [String] # def tar - Omnibus.which("gtar") ? "gtar" : "tar" + Omnibus.which("gtar") ? "tar" : "tar" end end end