From 0aa5df601adfe76be9f8549465343e966ac6677d Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sun, 23 Apr 2017 01:29:42 -0600 Subject: [PATCH] Update fusionpbx.sh --- centos/resources/fusionpbx.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/centos/resources/fusionpbx.sh b/centos/resources/fusionpbx.sh index c2a1aa3..a3eb8db 100755 --- a/centos/resources/fusionpbx.sh +++ b/centos/resources/fusionpbx.sh @@ -3,19 +3,24 @@ #move to script directory so all relative paths work cd "$(dirname "$0")" +#includes +. ./config.sh . ./colors.sh -. ./arguments.sh +#send a message verbose "Installing FusionPBX" +#install dependencies yum -y install git yum -y install ghostscript libtiff-devel libtiff-tools +#forensics tools wget https://forensics.cert.org/cert-forensics-tools-release-el7.rpm rpm -Uvh cert-forensics-tools-release*rpm yum -y --enablerepo=forensics install lame -if [ .$USE_SYSTEM_MASTER = .true ]; then + +if [ .$system_branch = "master" ]; then verbose "Using master" BRANCH="" else @@ -29,4 +34,5 @@ fi #get the source code git clone $BRANCH https://github.com/fusionpbx/fusionpbx.git /var/www/fusionpbx +#send a message verbose "FusionPBX Installed"