Skip to content

Commit 6b58a7b

Browse files
committed
test with tar command instead of gtar
Signed-off-by: muthuja <muthujabavaji.vempalli@progress.com>
1 parent 436b52d commit 6b58a7b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/omnibus/fetchers/net_fetcher.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ def extract
235235
compression_switch = "z" if downloaded_file.end_with?("gz")
236236
compression_switch = "--lzma -" if downloaded_file.end_with?("lzma")
237237
compression_switch = "j" if downloaded_file.end_with?("bz2")
238-
compression_switch = "J" if downloaded_file.end_with?("xz")
238+
#compression_switch = "J" if downloaded_file.end_with?("xz")
239239

240240
if Ohai["platform"] == "windows"
241241
if downloaded_file.end_with?(*TAR_EXTENSIONS) && source[:extract] != :seven_zip
@@ -322,7 +322,7 @@ def extract_command; end
322322
# @return [String]
323323
#
324324
def tar
325-
Omnibus.which("gtar") ? "gtar" : "tar"
325+
Omnibus.which("gtar") ? "tar" : "tar"
326326
end
327327
end
328328
end

0 commit comments

Comments
 (0)