Skip to content

Commit 19b58d0

Browse files
change version information markers in globalblacklist.conf
1 parent f846f28 commit 19b58d0

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

globalblacklist.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
### Created By: https://github.com/mitchellkrogza/
66
### Copyright Mitchell Krog - <mitchellkrog@gmail.com>
77

8-
### Version Information
8+
### Version Information #
99
############################################
1010
### Version: V3.2017.05.392
1111
### Updated: Thu May 4 12:35:29 SAST 2017
1212
### Generated In: 0.00448417663574 seconds
1313
############################################
14-
### Version Information END
14+
### Version Information ##
1515

1616
### This file implements a checklist / blacklist for good user agents, bad user agents and
1717
### bad referrers. It also has whitelisting for your own IP's and known good IP Ranges

travis-ci/modify-globalblacklist.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ _tmpnginxA=tmpnginxA
2020
_tmpnginxB=tmpnginxB
2121

2222
# Start and End Strings to Search for to do inserts into template
23-
_startmarker="### Version Information"
24-
_endmarker="### Version Information END"
23+
_startmarker="### Version Information #"
24+
_endmarker="### Version Information ##"
2525
#_startgen="### Generated in"
2626
#_endgen="### End Generated in"
2727

@@ -38,13 +38,13 @@ echo $_endmarker >> $_tmpnginxA
3838
IFS=$LASTUPDATEIFS
3939
mv $_tmpnginxA $_inputdbA
4040
ed -s $_inputdbA<<\IN
41-
1,/### Version Information/d
42-
/### Version Information END/,$d
41+
1,/### Version Information #/d
42+
/### Version Information ##/,$d
4343
,d
4444
.r /home/travis/build/mitchellkrogza/Travis-CI-Nginx-for-Testing-Nginx-Configuration/globalblacklist.conf
45-
/### Version Information/x
45+
/### Version Information #/x
4646
.t.
47-
.,/### Version Information END/-d
47+
.,/### Version Information ##/-d
4848
#,p
4949
#,p used to print output replaced with w below to write
5050
w /home/travis/build/mitchellkrogza/Travis-CI-Nginx-for-Testing-Nginx-Configuration/globalblacklist.conf

0 commit comments

Comments
 (0)