Update package-all.sh

This commit is contained in:
FusionPBX 2019-09-02 17:58:37 -06:00 committed by GitHub
parent 086bf10219
commit 174241a3d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 6 deletions

View File

@ -10,11 +10,9 @@ cd "$(dirname "$0")"
apt-get -q update && apt-get install -y -q ntp curl memcached haveged apt-get -q update && apt-get install -y -q ntp curl memcached haveged
if [ ."$cpu_architecture" = ."arm" ]; then if [ ."$cpu_architecture" = ."x86" ]; then
echo "deb http://repo.sip247.com/debian/freeswitch-stable-armhf/ jessie main" > /etc/apt/sources.list.d/freeswitch.list wget -O - https://files.freeswitch.org/repo/deb/debian-release/fsstretch-archive-keyring.asc | apt-key add -
curl http://repo.sip247.com/debian/sip247.com.gpg.key | apt-key add - echo "deb http://files.freeswitch.org/repo/deb/debian-release/ `lsb_release -sc` main" > /etc/apt/sources.list.d/freeswitch.list
else echo "deb-src http://files.freeswitch.org/repo/deb/debian-release/ `lsb_release -sc` 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
curl http://files.freeswitch.org/repo/deb/freeswitch-1.6/key.gpg | apt-key add -
fi fi
apt-get -q update && apt-get install -y -q freeswitch-meta-all freeswitch-all-dbg gdb apt-get -q update && apt-get install -y -q freeswitch-meta-all freeswitch-all-dbg gdb