From 868aa152133be537719eef07d86350bc56402442 Mon Sep 17 00:00:00 2001 From: Pete Cooper Date: Tue, 18 Feb 2025 20:51:27 +0000 Subject: [PATCH 1/2] double space -> space for tidiness --- .deprecated/.dev-tools/setup-ngxblocker/setup-ngxblocker | 2 +- AUTO-CONFIGURATION.md | 4 ++-- README.md | 4 ++-- dev-tools/setup-ngxblocker/setup-ngxblocker | 2 +- setup-ngxblocker | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.deprecated/.dev-tools/setup-ngxblocker/setup-ngxblocker b/.deprecated/.dev-tools/setup-ngxblocker/setup-ngxblocker index 99b1b1917..69f3f2451 100644 --- a/.deprecated/.dev-tools/setup-ngxblocker/setup-ngxblocker +++ b/.deprecated/.dev-tools/setup-ngxblocker/setup-ngxblocker @@ -417,7 +417,7 @@ main() { # by default do not change any files if [ -z "$DRY_RUN" ]; then - printf "\n** Dry Run ** | not updating files | run as '$(basename $0) -x' to setup files.\n\n" + printf "\n** Dry Run ** | not updating files | run as '$(basename $0) -x' to setup files.\n\n" else printf "\n" fi diff --git a/AUTO-CONFIGURATION.md b/AUTO-CONFIGURATION.md index 00d4dfeb7..1c96be063 100755 --- a/AUTO-CONFIGURATION.md +++ b/AUTO-CONFIGURATION.md @@ -78,7 +78,7 @@ This will show you output as follows of the changes that will be made ``` Checking url: https://raw.githubusercontent.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/master/include_filelist.txt -** Dry Run ** | not updating files | run as 'install-ngxblocker -x' to install files. +** Dry Run ** | not updating files | run as 'install-ngxblocker -x' to install files. Creating directory: /etc/nginx/bots.d @@ -176,7 +176,7 @@ All Nginx installations I know of have this default include in the nginx.conf fi ``` Checking url: https://raw.githubusercontent.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/master/include_filelist.txt -** Dry Run ** | not updating files | run as 'setup-ngxblocker -x' to setup files. +** Dry Run ** | not updating files | run as 'setup-ngxblocker -x' to setup files. INFO: /etc/nginx/conf.d/* detected => /etc/nginx/nginx.conf inserting: include /etc/nginx/bots.d/blockbots.conf; => /etc/nginx/sites-available/mydomain2.com.vhost diff --git a/README.md b/README.md index 84c604605..87fde3174 100755 --- a/README.md +++ b/README.md @@ -108,7 +108,7 @@ This will show you output as follows of the changes that will be made ```text Checking url: https://raw.githubusercontent.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/master/include_filelist.txt -** Dry Run ** | not updating files | run as 'install-ngxblocker -x' to install files. +** Dry Run ** | not updating files | run as 'install-ngxblocker -x' to install files. Creating directory: /etc/nginx/bots.d @@ -206,7 +206,7 @@ All Nginx installations I know of have this default include in the nginx.conf fi ```text Checking url: https://raw.githubusercontent.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/master/include_filelist.txt -** Dry Run ** | not updating files | run as 'setup-ngxblocker -x' to setup files. +** Dry Run ** | not updating files | run as 'setup-ngxblocker -x' to setup files. INFO: /etc/nginx/conf.d/* detected => /etc/nginx/nginx.conf inserting: include /etc/nginx/bots.d/blockbots.conf; => /etc/nginx/sites-available/mydomain2.com.vhost diff --git a/dev-tools/setup-ngxblocker/setup-ngxblocker b/dev-tools/setup-ngxblocker/setup-ngxblocker index 99b1b1917..69f3f2451 100644 --- a/dev-tools/setup-ngxblocker/setup-ngxblocker +++ b/dev-tools/setup-ngxblocker/setup-ngxblocker @@ -417,7 +417,7 @@ main() { # by default do not change any files if [ -z "$DRY_RUN" ]; then - printf "\n** Dry Run ** | not updating files | run as '$(basename $0) -x' to setup files.\n\n" + printf "\n** Dry Run ** | not updating files | run as '$(basename $0) -x' to setup files.\n\n" else printf "\n" fi diff --git a/setup-ngxblocker b/setup-ngxblocker index ea7009490..4b4ad7314 100755 --- a/setup-ngxblocker +++ b/setup-ngxblocker @@ -447,7 +447,7 @@ main() { # by default do not change any files if [ -z "$DRY_RUN" ]; then - printf "\n** Dry Run ** | not updating files | run as '$(basename $0) -x' to setup files.\n\n" + printf "\n** Dry Run ** | not updating files | run as '$(basename $0) -x' to setup files.\n\n" else printf "\n" fi From cf10b20b8c54d5497a4419a74ddf4b46ce2b647a Mon Sep 17 00:00:00 2001 From: Pete Cooper Date: Tue, 18 Feb 2025 20:53:43 +0000 Subject: [PATCH 2/2] missed one tagging https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/pull/618 --- install-ngxblocker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-ngxblocker b/install-ngxblocker index 4673252f1..a4e315812 100755 --- a/install-ngxblocker +++ b/install-ngxblocker @@ -333,7 +333,7 @@ main() { # by default do not change any files if [ -z "$DRY_RUN" ]; then - printf "\n** Dry Run ** | not updating files | run as '$(basename $0) -x' to install files.\n\n" + printf "\n** Dry Run ** | not updating files | run as '$(basename $0) -x' to install files.\n\n" else printf "\n" fi