Skip to content

Commit

Permalink
remove unnecessary whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
thestinger committed Dec 18, 2023
1 parent 5a3dba8 commit 7d3a5e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stopforumspam-update
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

set -o errexit -o nounset -o pipefail

curl --fail-with-body https://www.stopforumspam.com/downloads/toxic_ip_cidr.txt | awk ' { print $1 " 1;" } ' > /etc/nginx/stopforumspam-toxic_ip_cidr.conf.new
curl --fail-with-body https://www.stopforumspam.com/downloads/toxic_ip_cidr.txt | awk '{ print $1 " 1;" }' > /etc/nginx/stopforumspam-toxic_ip_cidr.conf.new
mv /etc/nginx/stopforumspam-toxic_ip_cidr.conf.new /etc/nginx/stopforumspam-toxic_ip_cidr.conf
curl --fail-with-body https://www.stopforumspam.com/downloads/bannedips.csv.gz | gunzip | tr ',' '\n' | awk ' { print $1 " 1;" } ' > /etc/nginx/stopforumspam-bannedips.conf.new
curl --fail-with-body https://www.stopforumspam.com/downloads/bannedips.csv.gz | gunzip | tr ',' '\n' | awk '{ print $1 " 1;" }' > /etc/nginx/stopforumspam-bannedips.conf.new
mv /etc/nginx/stopforumspam-bannedips.conf.new /etc/nginx/stopforumspam-bannedips.conf
nginx -s reload

0 comments on commit 7d3a5e3

Please sign in to comment.