setup.sh: Improve checking for gpg key
This commit is contained in:
parent
7dcb416f6d
commit
1e0bf8641a
1 changed files with 1 additions and 1 deletions
2
setup.sh
2
setup.sh
|
@ -34,7 +34,7 @@ if have fossil; then
|
|||
fi
|
||||
|
||||
gpg_key="7395312F"
|
||||
if test $($gpg -a --export $gpg_key 2>/dev/null | wc -c) -gt 0; then
|
||||
if $gpg --list-secret-keys $gpg_key &>/dev/null; then
|
||||
fossil set --global pgp-command \
|
||||
"$gpg -u $gpg_key --clearsign -o"
|
||||
fossil set --global clearsign 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue