extra-repo-book/update_keyring.sh

27 lines
607 B
Bash
Executable File

#!/bin/bash
echo "下载docker公钥..."
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 --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 ""
一些额外的开源/闭源应用的软件源管理
Shell 100%