summaryrefslogtreecommitdiff
path: root/rif-checkfriends.sh
diff options
context:
space:
mode:
authorHendrik Jaeger <git-commit@henk.geekmail.org>2019-11-03 16:13:28 +0100
committerHendrik Jaeger <git-commit@henk.geekmail.org>2019-11-03 16:13:28 +0100
commit21034ed2f029e39541cd006b6c3d746caa0a3d78 (patch)
treebc3193ec31b42e591d60936ec9d5d6847ebd24e9 /rif-checkfriends.sh
parent679c6ffb8f8d87c6802a81ae2da272f4c9108baf (diff)
Update all files to use RI6F instead of RIFHEADmaster
GnuPG is not case-sensitive and RIF may collide with "verification" and possibly other terms
Diffstat (limited to 'rif-checkfriends.sh')
-rwxr-xr-xrif-checkfriends.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/rif-checkfriends.sh b/rif-checkfriends.sh
index 24bb12f..af02921 100755
--- a/rif-checkfriends.sh
+++ b/rif-checkfriends.sh
@@ -1,13 +1,13 @@
#!/bin/sh
# 2019-09-10, Nico Schottelius, Seoul
-gpg --list-keys --with-colons | grep RIF | awk -F: '{ print $10 }' | sed 's/\\x3a/:/' | (
+gpg --list-keys --with-colons | grep RI6F | awk -F: '{ print $10 }' | sed 's/\\x3a/:/' | (
while read line
do
name=$(echo $line | sed 's/\(.*\)(.*/\1/')
# Assume by default offline
online=offline
- url=$(echo $line | sed -e 's/.*(RIF //' -e 's/).*//')
+ url=$(echo $line | sed -e 's/.*(RI6F //' -e 's/).*//')
echo "Checking $name on $url ..."
curl -6 -s "$url" > /dev/null && online=online
echo $name is $online