Explorar el Código

search anyway

Bob Mottram hace 9 años
padre
commit
1bbc069e33
Ninguna cuenta está vinculada al correo electrónico del colaborador
Se han modificado 1 ficheros con 1 adiciones y 5 borrados
  1. 1
    5
      src/freedombone-controlpanel-user

+ 1
- 5
src/freedombone-controlpanel-user Ver fichero

701
 			SIGN_ADDRESS=$(<$data)
701
 			SIGN_ADDRESS=$(<$data)
702
 			if [ ${#SIGN_ADDRESS} -gt 2 ]; then
702
 			if [ ${#SIGN_ADDRESS} -gt 2 ]; then
703
 				clear
703
 				clear
704
+				gpg --search "$SIGN_ADDRESS"
704
 				fpr=$(gpg --with-colons --fingerprint "$SIGN_ADDRESS" | grep fpr | head -n 1 | awk -F ':' '{print $10}')
705
 				fpr=$(gpg --with-colons --fingerprint "$SIGN_ADDRESS" | grep fpr | head -n 1 | awk -F ':' '{print $10}')
705
 				if [ ! "$?" = "0" ]; then
706
 				if [ ! "$?" = "0" ]; then
706
-					gpg --search "$SIGN_ADDRESS"
707
-					fpr=$(gpg --with-colons --fingerprint "$SIGN_ADDRESS" | grep fpr | head -n 1 | awk -F ':' '{print $10}')
708
-				fi
709
-
710
-				if [ ! "$?" = "0" ]; then
711
 					if [ ${#fpr} -gt 2 ]; then
707
 					if [ ${#fpr} -gt 2 ]; then
712
 						gpg --sign-key $fpr
708
 						gpg --sign-key $fpr
713
 						if [ "$?" = "0" ]; then
709
 						if [ "$?" = "0" ]; then