Update package-release.sh

This commit is contained in:
FusionPBX 2017-03-04 23:04:04 -07:00 committed by GitHub
parent 2e93c4ca83
commit 1e93083666
1 changed files with 3 additions and 2 deletions

View File

@ -3,12 +3,13 @@
#move to script directory so all relative paths work #move to script directory so all relative paths work
cd "$(dirname "$0")" cd "$(dirname "$0")"
. ../config.sh
. ../colors.sh . ../colors.sh
. ../environment.sh
. ../arguments.sh . ../arguments.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
arch=$(uname -m) if [ ."$cpu_architecture" = ."arm" ]; then
if [ $arch = 'armv7l' ] && [ $USE_SWITCH_PACKAGE_UNOFFICIAL_ARM = true ]; then
echo "deb http://repo.sip247.com/debian/freeswitch-stable-armhf/ jessie main" > /etc/apt/sources.list.d/freeswitch.list echo "deb http://repo.sip247.com/debian/freeswitch-stable-armhf/ jessie main" > /etc/apt/sources.list.d/freeswitch.list
curl http://repo.sip247.com/debian/sip247.com.gpg.key | apt-key add - curl http://repo.sip247.com/debian/sip247.com.gpg.key | apt-key add -
else else