From 9e4c5becb8a5192f3b2f18f4764deb7430ff923b Mon Sep 17 00:00:00 2001 From: Mitchell Krog Date: Sat, 29 Jun 2019 17:58:02 +0200 Subject: [PATCH] FIX NginX Versioning Info in README --- .dev-tools/modify-config-readme-files.sh | 12 ++++++------ README.md | 5 ++--- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.dev-tools/modify-config-readme-files.sh b/.dev-tools/modify-config-readme-files.sh index c088bd7ef..196258b12 100755 --- a/.dev-tools/modify-config-readme-files.sh +++ b/.dev-tools/modify-config-readme-files.sh @@ -68,8 +68,8 @@ _inputdbA=/tmp/lastupdated.db _tmpnginxA=tmpnginxA _startmarker="_______________" _endmarker="____________________" -_startmarker2="**********************************************************************" -_endmarker2="********************************************************************************" +_startmarker2="_______________________" +_endmarker2="__________________________" nginxv="nginx version: nginx/1.10" nginxv1=$(cat ${TRAVIS_BUILD_DIR}/.dev-tools/nginxv1.txt) nginxv2=$(cat ${TRAVIS_BUILD_DIR}/.dev-tools/nginxv2.txt) @@ -109,13 +109,13 @@ updateReadme2 () { printf '%s\n%s\n%s\n%s\n%s' "$_startmarker2" "##### ${nginxv}" "##### ${nginxv1}" "##### ${nginxv2}" "$_endmarker2" >> "$_tmpnginxA" mv ${_tmpnginxA} ${_inputdbA} ed -s ${_inputdbA}<<\IN -1,/**********************************************************************/d -/********************************************************************************/,$d +1,/_______________________/d +/__________________________/,$d ,d .r /home/travis/build/mitchellkrogza/nginx-ultimate-bad-bot-blocker/README.md -/**********************************************************************/x +/_______________________/x .t. -.,/********************************************************************************/-d +.,/__________________________/-d #,p #,p used to print output replaced with w below to write w /home/travis/build/mitchellkrogza/nginx-ultimate-bad-bot-blocker/README.md diff --git a/README.md b/README.md index 1e91519f3..fb09ac382 100755 --- a/README.md +++ b/README.md @@ -24,10 +24,9 @@ ____________________ - Created by: https://github.com/mitchellkrogza for use on Nginx Web Server https://www.nginx.com/ - Copyright Mitchell Krog -********************************************************************** - -******************************************************************************** +_______________________ +__________________________ Not Using Nginx? See the [![Get the APACHE ULTIMATE BAD BOT BLOCKER](https://img.shields.io/badge/APACHE%20-%20ULTIMATE%20BAD%20BOT%20BLOCKER%20%E2%9B%94-blue.svg)](https://github.com/mitchellkrogza/apache-ultimate-bad-bot-blocker)