Update package-all.sh

This commit is contained in:
FusionPBX 2019-02-17 09:37:55 -07:00 committed by GitHub
parent f5aef70de7
commit 0c7035634a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ cd "$(dirname "$0")"
. ../environment.sh
. ../arguments.sh
apt-get update && apt-get install -y --force-yes ntp curl memcached haveged
apt-get update && apt-get install -y ntp curl memcached haveged
if [ ."$cpu_architecture" = ."arm" ]; then
echo "deb http://repo.sip247.com/debian/freeswitch-stable-armhf/ jessie main" > /etc/apt/sources.list.d/freeswitch.list
@ -18,7 +18,7 @@ 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
apt-get update && apt-get install -y --force-yes freeswitch-meta-all freeswitch-all-dbg gdb
apt-get update && apt-get install -y freeswitch-meta-all freeswitch-all-dbg gdb
#make sure that postgresql is started before starting freeswitch
sed -i /lib/systemd/system/freeswitch.service -e s:'local-fs.target:local-fs.target postgresql.service:'