tools/git.sh: fix gpg program

This commit is contained in:
Ivan Bushchik 2023-01-04 12:07:16 +03:00
parent c6c91e55dc
commit b817cc7b33
No known key found for this signature in database
GPG key ID: 3E4E9C7D66E44BF7

View file

@ -9,7 +9,7 @@ read -p "Configure GPG signing for git? (y/N): " answer
if [[ $answer = [Yy] ]]; then if [[ $answer = [Yy] ]]; then
git config --global commit.gpgsign true git config --global commit.gpgsign true
git config --global gpg.program gpg2 git config --global gpg.program gpg
read -p "Enter your GPG key ID: " GPGKEYID read -p "Enter your GPG key ID: " GPGKEYID
git config --global user.signingkey "${GPGKEYID}" git config --global user.signingkey "${GPGKEYID}"
else else