forked from norman/fusionpbx-install.sh-github-mirror
Update source-release.sh
This commit is contained in:
@@ -24,7 +24,7 @@ CWD=$(pwd)
|
|||||||
echo "Using version $switch_version"
|
echo "Using version $switch_version"
|
||||||
cd /usr/src
|
cd /usr/src
|
||||||
#git clone -b v1.8 https://freeswitch.org/stash/scm/fs/freeswitch.git /usr/src/freeswitch
|
#git clone -b v1.8 https://freeswitch.org/stash/scm/fs/freeswitch.git /usr/src/freeswitch
|
||||||
#wget http://files.freeswitch.org/freeswitch-releases/freeswitch-$switch_version.zip
|
wget http://files.freeswitch.org/freeswitch-releases/freeswitch-$switch_version.zip
|
||||||
unzip freeswitch-$switch_version.zip
|
unzip freeswitch-$switch_version.zip
|
||||||
rm -R freeswitch
|
rm -R freeswitch
|
||||||
mv freeswitch-$switch_version freeswitch
|
mv freeswitch-$switch_version freeswitch
|
||||||
@@ -53,9 +53,9 @@ sed -i /usr/src/freeswitch/modules.conf -e s:'applications/mod_signalwire:#appli
|
|||||||
# compile and install
|
# compile and install
|
||||||
make
|
make
|
||||||
make install
|
make install
|
||||||
#make sounds-install moh-install
|
make sounds-install moh-install
|
||||||
#make hd-sounds-install hd-moh-install
|
make hd-sounds-install hd-moh-install
|
||||||
#make cd-sounds-install cd-moh-install
|
make cd-sounds-install cd-moh-install
|
||||||
|
|
||||||
#move the music into music/default directory
|
#move the music into music/default directory
|
||||||
mkdir -p /usr/share/freeswitch/sounds/music/default
|
mkdir -p /usr/share/freeswitch/sounds/music/default
|
||||||
|
|||||||
Reference in New Issue
Block a user