forked from norman/fusionpbx-install.sh-github-mirror
Add the -$switch_version postfix and use it consistently
This commit is contained in:
4
debian/resources/switch/source-release.sh
vendored
4
debian/resources/switch/source-release.sh
vendored
@@ -95,8 +95,8 @@ if [ ."$os_codename" = ."trixie" ] || [ ."$switch_branch" = ."master" ]; then
|
|||||||
#master branch
|
#master branch
|
||||||
echo "Using version master"
|
echo "Using version master"
|
||||||
rm -r /usr/src/freeswitch
|
rm -r /usr/src/freeswitch
|
||||||
git clone https://github.com/signalwire/freeswitch.git
|
git clone https://github.com/signalwire/freeswitch.git freeswitch-$switch_version
|
||||||
cd /usr/src/freeswitch
|
cd /usr/src/freeswitch-$switch_version
|
||||||
|
|
||||||
git remote add fusionpbx https://github.com/fusionpbx/freeswitch.git
|
git remote add fusionpbx https://github.com/fusionpbx/freeswitch.git
|
||||||
git fetch fusionpbx
|
git fetch fusionpbx
|
||||||
|
|||||||
6
debian/resources/switch/source-sounds.sh
vendored
6
debian/resources/switch/source-sounds.sh
vendored
@@ -8,11 +8,7 @@ cd "$(dirname "$0")"
|
|||||||
. ../environment.sh
|
. ../environment.sh
|
||||||
|
|
||||||
# change the working directory
|
# change the working directory
|
||||||
if [ ."$switch_branch" = ."master" ]; then
|
cd /usr/src/freeswitch-$switch_version
|
||||||
cd /usr/src/freeswitch
|
|
||||||
else
|
|
||||||
cd /usr/src/freeswitch-$switch_version
|
|
||||||
fi
|
|
||||||
|
|
||||||
# compile and install the sounds
|
# compile and install the sounds
|
||||||
make sounds-install moh-install
|
make sounds-install moh-install
|
||||||
|
|||||||
Reference in New Issue
Block a user