search anyway
This commit is contained in:
parent
5dc85c071d
commit
1bbc069e33
|
@ -701,12 +701,8 @@ function sign_gpg_key {
|
||||||
SIGN_ADDRESS=$(<$data)
|
SIGN_ADDRESS=$(<$data)
|
||||||
if [ ${#SIGN_ADDRESS} -gt 2 ]; then
|
if [ ${#SIGN_ADDRESS} -gt 2 ]; then
|
||||||
clear
|
clear
|
||||||
fpr=$(gpg --with-colons --fingerprint "$SIGN_ADDRESS" | grep fpr | head -n 1 | awk -F ':' '{print $10}')
|
|
||||||
if [ ! "$?" = "0" ]; then
|
|
||||||
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}')
|
||||||
fi
|
|
||||||
|
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
if [ ${#fpr} -gt 2 ]; then
|
if [ ${#fpr} -gt 2 ]; then
|
||||||
gpg --sign-key $fpr
|
gpg --sign-key $fpr
|
||||||
|
|
Loading…
Reference in New Issue