Skip to content

Commit

Permalink
Fix /etc/apt/trusted.gpg.d deprecation where possible
Browse files Browse the repository at this point in the history
Only on Debian >= 12, Ubuntu >= 24.04
  • Loading branch information
FooBarWidget committed Sep 12, 2023
1 parent 4730fa0 commit 52afc2f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ deb https://apt.fullstaqruby.org ubuntu-22.04 main
deb https://apt.fullstaqruby.org ubuntu-20.04 main

# Debian 12
deb https://apt.fullstaqruby.org debian-12 main
deb [Signed-By=/etc/apt/fullstaq-ruby.asc] https://apt.fullstaqruby.org debian-12 main

# Debian 11
deb https://apt.fullstaqruby.org debian-11 main
Expand All @@ -488,7 +488,12 @@ deb https://apt.fullstaqruby.org debian-10 main
Then download the Fullstaq Ruby public key and update APT:

~~~bash
curl -SLfo /etc/apt/trusted.gpg.d/fullstaq-ruby.asc https://raw.githubusercontent.com/fullstaq-labs/fullstaq-ruby-server-edition/main/fullstaq-ruby.asc
# On Debian >= 12 and Ubuntu >= 24.04:
sudo curl -SLfo /etc/apt/fullstaq-ruby.asc https://raw.githubusercontent.com/fullstaq-labs/fullstaq-ruby-server-edition/main/fullstaq-ruby.asc
sudo apt update

# Otherwise:
sudo curl -SLfo /etc/apt/trusted.gpg.d/fullstaq-ruby.asc https://raw.githubusercontent.com/fullstaq-labs/fullstaq-ruby-server-edition/main/fullstaq-ruby.asc
sudo apt update
~~~

Expand Down

0 comments on commit 52afc2f

Please sign in to comment.