mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-01 18:19:55 +00:00
parent
9381c6d6eb
commit
2e0abfe1e0
3 changed files with 1 additions and 6 deletions
|
@ -66,13 +66,10 @@ defaultcolor=$(tput setaf default)
|
|||
# --------------
|
||||
|
||||
_input1=./_generator_lists/bad-user-agents.list
|
||||
_tmprobots=./tmp/robots.txt
|
||||
_tmprobots=./dev-tools/tmp/robots.txt
|
||||
_inputtmp=./dev-tools/_robots_input/robots.tmp
|
||||
_output=./dev-tools/_robots_input/robots-input.txt
|
||||
|
||||
sudo mkdir ./tmp
|
||||
sudo touch ./tmp/robots.txt
|
||||
|
||||
# ---------
|
||||
# Variables
|
||||
# ---------
|
||||
|
@ -120,8 +117,6 @@ generateRobotsFile
|
|||
# Exit With Error Number
|
||||
# ----------------------
|
||||
|
||||
sudo rm -rf ./tmp
|
||||
|
||||
exit ${?}
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
|
|
0
dev-tools/tmp/.keep
Normal file
0
dev-tools/tmp/.keep
Normal file
0
dev-tools/tmp/robots.txt
Normal file
0
dev-tools/tmp/robots.txt
Normal file
Loading…
Add table
Reference in a new issue