extra-repo-book/update_keyring.sh

21 lines
418 B
Bash
Executable File

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