25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
fossil set --global mv-rm-files 1
if have gpg2; then
gpg="gpg2"
elif have gpg; then
gpg="gpg"
else
gpg=":"
fi
gpg_key="7395312F"
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
|
|
|
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
fossil set --global mv-rm-files 1
if have gpg2; then
gpg="gpg2"
elif have gpg; then
gpg="gpg"
else
gpg="false"
fi
gpg_key="7395312F"
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
|