forked from norman/fusionpbx-install.sh-github-mirror
Remove comments for older versions of freeswitch version before 1.10.0.
This commit is contained in:
12
debian/resources/switch/source-release.sh
vendored
12
debian/resources/switch/source-release.sh
vendored
@@ -82,12 +82,12 @@ cd /usr/src
|
|||||||
|
|
||||||
#1.8 and older
|
#1.8 and older
|
||||||
if [ $(echo "$switch_version" | tr -d '.') -lt 1100 ]; then
|
if [ $(echo "$switch_version" | tr -d '.') -lt 1100 ]; then
|
||||||
#wget http://files.freeswitch.org/freeswitch-releases/freeswitch-$switch_version.zip
|
wget http://files.freeswitch.org/freeswitch-releases/freeswitch-$switch_version.zip
|
||||||
#rm -R freeswitch
|
rm -R freeswitch
|
||||||
#unzip freeswitch-$switch_version.zip
|
unzip freeswitch-$switch_version.zip
|
||||||
#mv freeswitch-$switch_version freeswitch
|
mv freeswitch-$switch_version freeswitch
|
||||||
#cd /usr/src/freeswitch
|
cd /usr/src/freeswitch
|
||||||
end
|
fi
|
||||||
|
|
||||||
#1.10.0 and newer
|
#1.10.0 and newer
|
||||||
if [ $(echo "$switch_version" | tr -d '.') -gt 1100 ]; then
|
if [ $(echo "$switch_version" | tr -d '.') -gt 1100 ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user