POSIX sh empty value check compatibility - part 1 (#62)

# Conflicts:
#	debian/resources/switch/package-all.sh
#	debian/resources/switch/package-release.sh
This commit is contained in:
erxspin
2017-02-24 22:54:19 +06:00
committed by FusionPBX
parent 4c4d0cda55
commit a7b38004ca
5 changed files with 25 additions and 25 deletions

View File

@@ -23,7 +23,7 @@ cp fail2ban/nginx-dos.conf /etc/fail2ban/filter.d/nginx-dos.conf
cp fail2ban/jail.local /etc/fail2ban/jail.local
#update config if source is being used
if [ $USE_FREESWITCH_SOURCE = true ]; then
if [ .$USE_FREESWITCH_SOURCE = .true ]; then
sed 's#var/log/freeswitch#usr/local/freeswitch/log#g' -i /etc/fail2ban/jail.local
fi