mirror of
https://github.com/postgres/postgres.git
synced 2025-06-01 00:01:20 -04:00
Do not de-armor key used by apt
Apt does not require keys to be de-armored if they use the correct extension. Additional put the key in the directory recommended by Debian and Ubuntu.
This commit is contained in:
parent
0c410a6cb1
commit
71bac8ded6
@ -3,7 +3,6 @@
|
|||||||
DEPS=(
|
DEPS=(
|
||||||
# Setup
|
# Setup
|
||||||
wget
|
wget
|
||||||
gpg
|
|
||||||
# Build
|
# Build
|
||||||
bison
|
bison
|
||||||
docbook-xsl
|
docbook-xsl
|
||||||
@ -46,6 +45,6 @@ sudo apt-get install -y ${DEPS[@]}
|
|||||||
bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)"
|
bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)"
|
||||||
|
|
||||||
# Vault
|
# Vault
|
||||||
wget -O- https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg
|
wget -O - https://apt.releases.hashicorp.com/gpg | sudo tee /etc/apt/keyrings/hashicorp-archive-keyring.asc
|
||||||
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list
|
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/hashicorp-archive-keyring.asc] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list
|
||||||
sudo apt-get update && sudo apt-get install -y vault
|
sudo apt-get update && sudo apt-get install -y vault
|
||||||
|
Loading…
x
Reference in New Issue
Block a user