29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
gpg="gpg2"
elif have gpg; then
gpg="gpg"
else
gpg=":"
fi
gpg_key="35E1AF8B"
if test $($gpg -a --export $gpg_key 2>/dev/null | wc -c) -gt 0; then
fossil set --global pgp-command \
"$gpg -u $gpg_key --clearsign -o"
fossil set --global clearsign 1
else
fossil unset --global pgp-command
fossil unset --global clearsign
|
|
|
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
gpg="gpg2"
elif have gpg; then
gpg="gpg"
else
gpg=":"
fi
gpg_key="7395312F"
if test $($gpg -a --export $gpg_key 2>/dev/null | wc -c) -gt 0; then
fossil set --global pgp-command \
"$gpg -u $gpg_key --clearsign -o"
fossil set --global clearsign 1
else
fossil unset --global pgp-command
fossil unset --global clearsign
|