Skip to content

Commit

Permalink
Fixes #37034 - Replace apt-key on Debian/Ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
maximiliankolb authored and evgeni committed Jan 8, 2024
1 parent bf39cd0 commit 6575dc0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ elif [ -f /etc/debian_version ]; then
<%= save_to_file('/etc/apt/sources.list.d/foreman_registration.list', @repo) %>
<% if @repo_gpg_key_url.present? -%>
apt-get -y install ca-certificates gpg
curl --silent --show-error <%= shell_escape @repo_gpg_key_url %> | apt-key add -
curl --silent --show-error --output /etc/apt/trusted.gpg.d/client.asc <%= shell_escape @repo_gpg_key_url %>
<% end -%>
apt-get update

Expand Down

0 comments on commit 6575dc0

Please sign in to comment.