Skip to content

Commit

Permalink
install xz manually to test
Browse files Browse the repository at this point in the history
Signed-off-by: muthuja <[email protected]>
  • Loading branch information
muthuja committed Feb 27, 2025
1 parent 4857e98 commit c974c8c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/omnibus/fetchers/net_fetcher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,9 @@ def download_url
#
def download
log.warn(log_key) { source[:warning] } if source.key?(:warning)
log.info(log_key) { "-----DEBUG-----installing xz just to test------" }
shellout!(brew install xz)
log.info(log_key) { "-----DEBUG-----completing installation of xz------" }

options = {}

Expand Down Expand Up @@ -236,9 +239,6 @@ def extract
returns = [0]
returns << 1 if source[:extract] == :lax_tar

log.info(log_key) { "-----DEBUG-----installing xz just to test------" }
shellout!(brew install xz)
log.info(log_key) { "-----DEBUG-----completing installation of xz------" }
shellout!("tar #{compression_switch}xf #{downloaded_file} --force-local -C#{project_dir}", returns: returns)
elsif downloaded_file.end_with?(*COMPRESSED_TAR_EXTENSIONS)
Dir.mktmpdir do |temp_dir|
Expand Down

0 comments on commit c974c8c

Please sign in to comment.