Skip to content

Commit

Permalink
Pass --yes to gnupg to make the action idempotent
Browse files Browse the repository at this point in the history
  • Loading branch information
TerrorJack committed Dec 14, 2024
1 parent 77a3593 commit b7ce8e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -euo pipefail

LSB_CODENAME=$(lsb_release -cs)

curl -f -L --retry 5 https://apt.llvm.org/llvm-snapshot.gpg.key | sudo gpg --dearmor --no-tty -o /usr/share/keyrings/llvm-snapshot.gpg
curl -f -L --retry 5 https://apt.llvm.org/llvm-snapshot.gpg.key | sudo gpg --dearmor -o /usr/share/keyrings/llvm-snapshot.gpg --yes

{
echo "deb [signed-by=/usr/share/keyrings/llvm-snapshot.gpg] https://apt.llvm.org/$LSB_CODENAME llvm-toolchain-$LSB_CODENAME main"
Expand Down

0 comments on commit b7ce8e5

Please sign in to comment.