Skip to content
Snippets Groups Projects
Commit d9281a37 authored by Bob Mottram's avatar Bob Mottram
Browse files

Better compare

parent a0a3d9f9
No related branches found
No related tags found
No related merge requests found
......@@ -101,7 +101,7 @@ function create_pleroma_blocklist {
echo " users_query=\"\${users_query} nickname ilike '%\${blocked}%'\"" >> $blocking_script_file
echo ' objects_updated=1' >> $blocking_script_file
echo ' if [[ "$blocked" != *"@"* ]]; then' >> $blocking_script_file
echo ' if ! grep -q "$blocked" /etc/hosts; then' >> $blocking_script_file
echo ' if ! grep -q "127.0.0.1 $blocked" /etc/hosts; then' >> $blocking_script_file
echo ' echo "127.0.0.1 $blocked" >> /etc/hosts' >> $blocking_script_file
echo ' fi' >> $blocking_script_file
echo ' if [ $websub_server_subscriptions_updated ]; then' >> $blocking_script_file
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment