commit: fix nits, update mcclatchy https

This commit is contained in:
Alec Muffett 2018-07-10 09:18:46 +01:00
parent e5f95b51e0
commit f8cf2591c6
2 changed files with 15 additions and 8 deletions

View File

@ -558,7 +558,7 @@ Connectivity was last checked at: **2018-07-10T07:34:56Z**
* http://zafull3et6muayeh.onion/ * http://zafull3et6muayeh.onion/
* 2018-07-10T07:33:40Z :thumbsup: * 2018-07-10T07:33:40Z :thumbsup:
* http://www.mcclatchydc.com/customer-service/contact-us/ :no_entry_sign: Not HTTPS * https://www.mcclatchydc.com/customer-service/contact-us/
## Meduza ## Meduza

View File

@ -5,13 +5,20 @@ while read category onion_address proof_url title ; do
echo oops: bad category $category for $onion_address echo oops: bad category $category for $onion_address
exit 1 exit 1
fi fi
existing=`echo directory/*/$onion_address` # bueller?
test -d "$existing" && continue for existing in `echo directory/*/$onion_address` ; do
where="directory/$category/$onion_address" if [ -d "$existing" ] ; then
mkdir -p $where || exit 1 echo onion exists at $existing for $title
echo $title > $where/title continue
echo http://$onion_address/ > $where/urls fi
echo $proof_url > $where/proof done
dir="directory/$category/$onion_address"
mkdir -p $dir || exit 1
echo $title >$dir/title
echo $proof_url >$dir/proof
echo http://$onion_address/ >$dir/urls # add more by hand, later
done <<EOF done <<EOF
securedrop-for-organisations lzpczap7l3zxu7zv.onion https://www.icij.org/securedrop ICIJ / International Consortium of Investigative Journalists securedrop-for-organisations lzpczap7l3zxu7zv.onion https://www.icij.org/securedrop ICIJ / International Consortium of Investigative Journalists
EOF EOF