Remove condition

This commit is contained in:
Bob Mottram 2016-05-04 09:37:04 +01:00
parent 1bbc069e33
commit dadb763160
No known key found for this signature in database
GPG Key ID: BA68F26108DC9F87
1 changed files with 709 additions and 711 deletions

View File

@ -703,7 +703,6 @@ function sign_gpg_key {
clear clear
gpg --search "$SIGN_ADDRESS" gpg --search "$SIGN_ADDRESS"
fpr=$(gpg --with-colons --fingerprint "$SIGN_ADDRESS" | grep fpr | head -n 1 | awk -F ':' '{print $10}') fpr=$(gpg --with-colons --fingerprint "$SIGN_ADDRESS" | grep fpr | head -n 1 | awk -F ':' '{print $10}')
if [ ! "$?" = "0" ]; then
if [ ${#fpr} -gt 2 ]; then if [ ${#fpr} -gt 2 ]; then
gpg --sign-key $fpr gpg --sign-key $fpr
if [ "$?" = "0" ]; then if [ "$?" = "0" ]; then
@ -714,7 +713,6 @@ function sign_gpg_key {
fi fi
fi fi
fi fi
fi
;; ;;
esac esac
} }