Few small freebsd fixes (#319)

* Use python 3.7 which is the default.

* Fix typo (missing space before closing ]):

00:04:22.942  + [ -f /usr/ports/UPDATING]
00:04:22.942  [: missing ]

* GC unneded "cd resource". php.sh is included into resources/ngnix.sh, which does
cd resources as the first step by itself.
This commit is contained in:
Maksym Sobolyev
2020-06-11 09:41:50 -07:00
committed by GitHub
parent e053b3ada0
commit f6ce7e9ae5
3 changed files with 2 additions and 5 deletions

View File

@@ -11,7 +11,7 @@ cd "$(dirname "$0")"
verbose "Installing Fail2ban"
#add the dependencies
pkg install --yes py27-fail2ban
pkg install --yes py37-fail2ban
#enable fail2ban service
echo 'fail2ban_enable="YES"' >> /etc/rc.conf