install gpg

This commit is contained in:
Konano 2025-01-31 22:45:53 +08:00
parent c8b2e4d326
commit 2797ba09bb
Signed by: Nano
GPG Key ID: 93686B78EE43A65A

View File

@ -44,6 +44,11 @@ configure_gpg() {
mkdir -p ~/.gnupg
chmod 700 ~/.gnupg
cp $scriptdir/files/gpg.conf ~/.gnupg/gpg.conf
if [ "$(uname)" = "Darwin" ]; then
if ! command_exists gpg; then
brew install gpg
fi
fi
fi
}