Extra email check
This commit is contained in:
parent
d81cea2fe9
commit
006d355377
|
@ -384,6 +384,7 @@ function keyserver_sync {
|
||||||
fi
|
fi
|
||||||
if [[ "$other_keyserver_email" != "pgp-public-keys@" ]]; then
|
if [[ "$other_keyserver_email" != "pgp-public-keys@" ]]; then
|
||||||
if [[ "$other_keyserver_email" == *"@"* ]]; then
|
if [[ "$other_keyserver_email" == *"@"* ]]; then
|
||||||
|
if [[ "$other_keyserver_email" == *"."* ]]; then
|
||||||
keyserver_create_mailsync
|
keyserver_create_mailsync
|
||||||
if ! grep -q "$other_keyserver_email" /etc/sks/mailsync; then
|
if ! grep -q "$other_keyserver_email" /etc/sks/mailsync; then
|
||||||
echo "$other_keyserver_email" >> /etc/sks/mailsync
|
echo "$other_keyserver_email" >> /etc/sks/mailsync
|
||||||
|
@ -391,6 +392,7 @@ function keyserver_sync {
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
keyserver_create_membership
|
keyserver_create_membership
|
||||||
if grep -q "$other_keyserver_domain $other_keyserver_port" /etc/sks/membership; then
|
if grep -q "$other_keyserver_domain $other_keyserver_port" /etc/sks/membership; then
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue