forked from norman/fusionpbx-install.sh-github-mirror
Add ability to install from freeswitch from ports
This commit is contained in:
@@ -16,7 +16,11 @@ cwd=$(pwd)
|
|||||||
echo "Installing the FreeSWITCH package"
|
echo "Installing the FreeSWITCH package"
|
||||||
|
|
||||||
#install the package
|
#install the package
|
||||||
|
if [ .$portsnap_enabled = .'true' ]; then
|
||||||
|
cd /usr/ports/net/freeswitch/ && make install clean
|
||||||
|
else
|
||||||
pkg install --yes freeswitch
|
pkg install --yes freeswitch
|
||||||
|
fi
|
||||||
|
|
||||||
#set the original working directory
|
#set the original working directory
|
||||||
cd $cwd
|
cd $cwd
|
||||||
|
|||||||
Reference in New Issue
Block a user