docs: apt-key deprecation

Use the recommended keyrings path /etc/apt/keyrings

Per: https://manpages.debian.org/unstable/apt/apt-key.8.en.html#DEPRECATION
This commit is contained in:
Ayman Bagabas 2022-10-17 16:48:40 -04:00 committed by GitHub
parent 1237ee6bf0
commit 580642af8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,11 +61,12 @@ choco install glow
pkg install glow
# Debian/Ubuntu
echo "deb https://repo.charm.sh/apt/ * *" | sudo tee /etc/apt/sources.list.d/charm.list
curl https://repo.charm.sh/apt/gpg.key | sudo apt-key add -
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://repo.charm.sh/apt/gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/charm.gpg
echo "deb [signed-by=/etc/apt/keyrings/charm.gpg] https://repo.charm.sh/apt/ * *" | sudo tee /etc/apt/sources.list.d/charm.list
sudo apt update && sudo apt install glow
# Fedora
# Fedora/RHEL
echo '[charm]
name=Charm
baseurl=https://repo.charm.sh/yum/