Skip to content

Commit

Permalink
(RE-14819) Add back gunzip
Browse files Browse the repository at this point in the history
  • Loading branch information
e-gris committed Nov 2, 2022
1 parent 27a58e5 commit 03dffc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/beaker-pe/install/pe_utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ def fetch_pe_on_unix(host, opts)
filename = "#{host['dist']}"
if local
extension = File.exist?("#{path}/#{filename}.tar.gz") ? ".tar.gz" : ".tar"
if not File.exist?("#{path}/#{filename}#{extension}")
unless File.exist?("#{path}/#{filename}#{extension}")
raise "attempting installation on #{host}, #{path}/#{filename}#{extension} does not exist"
end
scp_to host, "#{path}/#{filename}#{extension}", "#{host['working_dir']}/#{filename}#{extension}"
Expand Down Expand Up @@ -419,7 +419,7 @@ def fetch_pe_on_unix(host, opts)
}
fetch_tarball_command = "cd #{host['working_dir']}; #{command_file_push}#{filename}#{extension}"
retry_on(host, fetch_tarball_command, retry_requirements)
#on host, "cd #{host['working_dir']}; tar -xvf #{filename}#{extension}"
on host, "cd #{host['working_dir']}; tar -xvf #{filename}#{extension}"

gpg_key_overwrite(host, 'tarball')
end
Expand Down

0 comments on commit 03dffc0

Please sign in to comment.