Extra email check
This commit is contained in:
parent
d81cea2fe9
commit
006d355377
|
@ -384,10 +384,12 @@ 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
|
||||||
keyserver_create_mailsync
|
if [[ "$other_keyserver_email" == *"."* ]]; then
|
||||||
if ! grep -q "$other_keyserver_email" /etc/sks/mailsync; then
|
keyserver_create_mailsync
|
||||||
echo "$other_keyserver_email" >> /etc/sks/mailsync
|
if ! grep -q "$other_keyserver_email" /etc/sks/mailsync; then
|
||||||
chown -Rc debian-sks: /etc/sks/mailsync
|
echo "$other_keyserver_email" >> /etc/sks/mailsync
|
||||||
|
chown -Rc debian-sks: /etc/sks/mailsync
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue