|
|
@@ -760,8 +760,8 @@ function gpg_key_trust {
|
|
760
|
760
|
255) return;;
|
|
761
|
761
|
esac
|
|
762
|
762
|
TRUST_LEVEL=$(cat $data)
|
|
763
|
|
- if [ ${TRUST_LEVEL} -ge 1] ; then
|
|
764
|
|
- if [ ${TRUST_LEVEL} -le 5] ; then
|
|
|
763
|
+ if [ ${TRUST_LEVEL} -ge 1 ] ; then
|
|
|
764
|
+ if [ ${TRUST_LEVEL} -le 5 ] ; then
|
|
765
|
765
|
echo -e "trust\n${TRUST_LEVEL}\ny\nsave\n" | gpg --command-fd 0 --edit-key $fpr
|
|
766
|
766
|
if [ "$?" = "0" ]; then
|
|
767
|
767
|
gpg --update-trustdb
|