From 77a3593fac6eda14bce03db98b9c93280f5eb307 Mon Sep 17 00:00:00 2001 From: Cheng Shao Date: Sat, 14 Dec 2024 20:01:52 +0000 Subject: [PATCH] Enforce --no-tty for gpg --- setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index 61292b5..38e8969 100755 --- a/setup.sh +++ b/setup.sh @@ -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 -o /usr/share/keyrings/llvm-snapshot.gpg +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 { echo "deb [signed-by=/usr/share/keyrings/llvm-snapshot.gpg] https://apt.llvm.org/$LSB_CODENAME llvm-toolchain-$LSB_CODENAME main"