Add ability to install from freeswitch from ports
This commit is contained in:
parent
87acc19e50
commit
4476b9153b
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue