Update package-release.sh
This commit is contained in:
parent
48165a244b
commit
0f7020e21d
|
|
@ -8,13 +8,18 @@ cd "$(dirname "$0")"
|
||||||
. ../colors.sh
|
. ../colors.sh
|
||||||
. ../environment.sh
|
. ../environment.sh
|
||||||
|
|
||||||
apt-get update && apt-get install -y --force-yes curl memcached haveged
|
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 main" > /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
|
if [ ."$os_codename" = ."stretch" ]; then
|
||||||
curl http://files.freeswitch.org/repo/deb/freeswitch-1.6/key.gpg | apt-key add -
|
echo "deb https://repo.fusionpbx.com/armhf stretch stable" > /etc/apt/sources.list.d/freeswitch.list
|
||||||
|
curl https://repo.fusionpbx.com/public.key | apt-key add -
|
||||||
|
else
|
||||||
|
echo "deb http://files.freeswitch.org/repo/deb/freeswitch-1.6/ jessie main" > /etc/apt/sources.list.d/freeswitch.list
|
||||||
|
curl http://files.freeswitch.org/repo/deb/freeswitch-1.6/key.gpg | apt-key add -
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y --force-yes gdb ntp
|
apt-get install -y --force-yes gdb ntp
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue