Adding ARM support

Adding unofficial ARM repos
This commit is contained in:
DigiDaz 2016-05-09 19:23:24 +01:00
parent f30ca905e7
commit 65a9fceb0f
1 changed files with 8 additions and 2 deletions

View File

@ -1,7 +1,13 @@
#!/bin/sh
apt-get update && apt-get install -y --force-yes curl memcached haveged
curl https://files.freeswitch.org/repo/deb/debian/freeswitch_archive_g0.pub | apt-key add -
echo "deb http://files.freeswitch.org/repo/deb/freeswitch-1.6/ jessie main" > /etc/apt/sources.list.d/freeswitch.list
arch=$(uname -m)
if [ $arch = 'armv7l' ]; then
echo "deb http://repo.sip247.com/debian/freeswitch-stable-armhf/ jessie main" >> /etc/apt/sources.list
curl http://repo.sip247.com/debian/sip247.com.gpg.key | apt-key add -
else
echo "deb http://files.freeswitch.org/repo/deb/freeswitch-1.6/ jessie main" > /etc/apt/sources.list
curl http://files.freeswitch.org/repo/deb/freeswitch-1.6/key.gpg | apt-key add -
fi
apt-get update && apt-get install -y --force-yes freeswitch-all freeswitch-all-dbg gdb
#apt-get remove freeswitch-all freeswitch-all-dbg
#rm /etc/apt/sources.list.d/freeswitch.list