From 331fd059d2f4854934400289e6bbfe80a179acb8 Mon Sep 17 00:00:00 2001 From: yutent Date: Fri, 8 Nov 2024 15:09:46 +0800 Subject: [PATCH] upadte --- build.sh | 2 +- update_keyring.sh | 21 ++++++++++++++------- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/build.sh b/build.sh index 4644182..da1648f 100755 --- a/build.sh +++ b/build.sh @@ -4,7 +4,7 @@ if [ -d unpack ]; then sudo rm -rf unpack fi -version="1.0.7" +version="1.0.8" mkdir -p unpack/DEBIAN diff --git a/update_keyring.sh b/update_keyring.sh index 70e85a4..235a512 100755 --- a/update_keyring.sh +++ b/update_keyring.sh @@ -3,18 +3,25 @@ echo "下载docker公钥..." -wget -qO - "https://download.docker.com/linux/debian/gpg" | gpg \ - --dearmor | tee \ - "usr/share/extra-repo-book/trusted.gpg.d/docker.gpg" > /dev/null +wget -qO - "https://download.docker.com/linux/debian/gpg" \ + | gpg --dearmor --yes -o "usr/share/extra-repo-book/trusted.gpg.d/docker.gpg" echo "完成" - +echo "" echo "下载microsoft公钥..." -wget -qO - "https://packages.microsoft.com/keys/microsoft.asc" | gpg \ - --dearmor | tee \ - "usr/share/extra-repo-book/trusted.gpg.d/ms.gpg" > /dev/null +wget -qO - "https://packages.microsoft.com/keys/microsoft.asc" \ + | gpg --dearmor --yes -o "usr/share/extra-repo-book/trusted.gpg.d/microsoft.gpg" echo "完成" +echo "" + +echo "下载mysql公钥..." + +wget -qO - "https://repo.mysql.com/RPM-GPG-KEY-mysql-2023" \ + | gpg --dearmor --yes -o "usr/share/extra-repo-book/trusted.gpg.d/mysql.gpg" + +echo "完成" +echo "" \ No newline at end of file