mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-03 11:10:47 +00:00
FIX NginX Versioning Info in README
This commit is contained in:
parent
324c9d42c7
commit
9e4c5becb8
2 changed files with 8 additions and 9 deletions
|
@ -68,8 +68,8 @@ _inputdbA=/tmp/lastupdated.db
|
||||||
_tmpnginxA=tmpnginxA
|
_tmpnginxA=tmpnginxA
|
||||||
_startmarker="_______________"
|
_startmarker="_______________"
|
||||||
_endmarker="____________________"
|
_endmarker="____________________"
|
||||||
_startmarker2="**********************************************************************"
|
_startmarker2="_______________________"
|
||||||
_endmarker2="********************************************************************************"
|
_endmarker2="__________________________"
|
||||||
nginxv="nginx version: nginx/1.10"
|
nginxv="nginx version: nginx/1.10"
|
||||||
nginxv1=$(cat ${TRAVIS_BUILD_DIR}/.dev-tools/nginxv1.txt)
|
nginxv1=$(cat ${TRAVIS_BUILD_DIR}/.dev-tools/nginxv1.txt)
|
||||||
nginxv2=$(cat ${TRAVIS_BUILD_DIR}/.dev-tools/nginxv2.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"
|
printf '%s\n%s\n%s\n%s\n%s' "$_startmarker2" "##### ${nginxv}" "##### ${nginxv1}" "##### ${nginxv2}" "$_endmarker2" >> "$_tmpnginxA"
|
||||||
mv ${_tmpnginxA} ${_inputdbA}
|
mv ${_tmpnginxA} ${_inputdbA}
|
||||||
ed -s ${_inputdbA}<<\IN
|
ed -s ${_inputdbA}<<\IN
|
||||||
1,/**********************************************************************/d
|
1,/_______________________/d
|
||||||
/********************************************************************************/,$d
|
/__________________________/,$d
|
||||||
,d
|
,d
|
||||||
.r /home/travis/build/mitchellkrogza/nginx-ultimate-bad-bot-blocker/README.md
|
.r /home/travis/build/mitchellkrogza/nginx-ultimate-bad-bot-blocker/README.md
|
||||||
/**********************************************************************/x
|
/_______________________/x
|
||||||
.t.
|
.t.
|
||||||
.,/********************************************************************************/-d
|
.,/__________________________/-d
|
||||||
#,p
|
#,p
|
||||||
#,p used to print output replaced with w below to write
|
#,p used to print output replaced with w below to write
|
||||||
w /home/travis/build/mitchellkrogza/nginx-ultimate-bad-bot-blocker/README.md
|
w /home/travis/build/mitchellkrogza/nginx-ultimate-bad-bot-blocker/README.md
|
||||||
|
|
|
@ -24,10 +24,9 @@ ____________________
|
||||||
- Created by: https://github.com/mitchellkrogza for use on Nginx Web Server https://www.nginx.com/
|
- Created by: https://github.com/mitchellkrogza for use on Nginx Web Server https://www.nginx.com/
|
||||||
- Copyright Mitchell Krog <mitchellkrog@gmail.com>
|
- Copyright Mitchell Krog <mitchellkrog@gmail.com>
|
||||||
|
|
||||||
**********************************************************************
|
_______________________
|
||||||
|
|
||||||
********************************************************************************
|
|
||||||
|
|
||||||
|
__________________________
|
||||||
|
|
||||||
Not Using Nginx? See the [](https://github.com/mitchellkrogza/apache-ultimate-bad-bot-blocker)
|
Not Using Nginx? See the [](https://github.com/mitchellkrogza/apache-ultimate-bad-bot-blocker)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue