Update package-release.sh (#159)
* Update package-release.sh add $switch_version * Update package-release.sh
This commit is contained in:
parent
d082bd06f1
commit
409fddcb5d
|
|
@ -10,11 +10,11 @@ cd "$(dirname "$0")"
|
||||||
|
|
||||||
apt-get update && apt-get install -y --force-yes curl memcached haveged apt-transport-https
|
apt-get update && apt-get install -y --force-yes curl memcached haveged apt-transport-https
|
||||||
if [ ."$cpu_architecture" = ."arm" ]; then
|
if [ ."$cpu_architecture" = ."arm" ]; then
|
||||||
echo "deb https://repo.fusionpbx.com/armhf jessie main" > /etc/apt/sources.list.d/freeswitch.list
|
echo "deb https://repo.fusionpbx.com/armhf jessie 1.6.20" > /etc/apt/sources.list.d/freeswitch.list
|
||||||
curl https://repo.fusionpbx.com/public.key | apt-key add -
|
curl https://repo.fusionpbx.com/public.key | apt-key add -
|
||||||
else
|
else
|
||||||
if [ ."$os_codename" = ."stretch" ]; then
|
if [ ."$os_codename" = ."stretch" ]; then
|
||||||
echo "deb https://repo.fusionpbx.com/armhf stretch stable" > /etc/apt/sources.list.d/freeswitch.list
|
echo "deb https://repo.fusionpbx.com/armhf stretch 1.6.20" > /etc/apt/sources.list.d/freeswitch.list
|
||||||
curl https://repo.fusionpbx.com/public.key | apt-key add -
|
curl https://repo.fusionpbx.com/public.key | apt-key add -
|
||||||
else
|
else
|
||||||
echo "deb http://files.freeswitch.org/repo/deb/freeswitch-1.6/ jessie main" > /etc/apt/sources.list.d/freeswitch.list
|
echo "deb http://files.freeswitch.org/repo/deb/freeswitch-1.6/ jessie main" > /etc/apt/sources.list.d/freeswitch.list
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue