From e03fc63fdddddb44ad1d5feeb3cfd4b927ada27c Mon Sep 17 00:00:00 2001 From: Cheng XU Date: Mon, 18 May 2020 20:03:35 -0700 Subject: [PATCH] setup.sh: update gpg verification logics [skip ci] --- setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.sh b/setup.sh index f3d6f8c..6a74eec 100755 --- a/setup.sh +++ b/setup.sh @@ -44,8 +44,8 @@ MIRROR_URL="$(wget -q -S -O /dev/null http://mirror.ctan.org/ 2>&1 | sed -ne 's/ wget -nv "${MIRROR_URL}systems/texlive/tlnet/install-tl-unx.tar.gz" wget -nv "${MIRROR_URL}systems/texlive/tlnet/install-tl-unx.tar.gz.sha512" wget -nv "${MIRROR_URL}systems/texlive/tlnet/install-tl-unx.tar.gz.sha512.asc" -gpg --import /texlive_pgp_keys.asc -gpg --verify ./install-tl-unx.tar.gz.sha512.asc +gpg --no-default-keyring --keyring trustedkeys.kbx --import /texlive_pgp_keys.asc +gpgv ./install-tl-unx.tar.gz.sha512.asc ./install-tl-unx.tar.gz.sha512 sha512sum -c ./install-tl-unx.tar.gz.sha512 mkdir -p /tmp/install-tl/installer tar --strip-components 1 -zxf /tmp/install-tl/install-tl-unx.tar.gz -C /tmp/install-tl/installer