Add ability to install from freeswitch from ports

This commit is contained in:
FusionPBX 2020-05-20 12:21:39 -06:00 committed by GitHub
parent 87acc19e50
commit 4476b9153b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -16,7 +16,11 @@ cwd=$(pwd)
echo "Installing the FreeSWITCH package"
#install the package
pkg install --yes freeswitch
if [ .$portsnap_enabled = .'true' ]; then
cd /usr/ports/net/freeswitch/ && make install clean
else
pkg install --yes freeswitch
fi
#set the original working directory
cd $cwd