Update fusionpbx.sh

This commit is contained in:
FusionPBX 2017-04-23 01:29:42 -06:00 committed by GitHub
parent b9c79e8ca4
commit 0aa5df601a
1 changed files with 8 additions and 2 deletions

View File

@ -3,19 +3,24 @@
#move to script directory so all relative paths work #move to script directory so all relative paths work
cd "$(dirname "$0")" cd "$(dirname "$0")"
#includes
. ./config.sh
. ./colors.sh . ./colors.sh
. ./arguments.sh
#send a message
verbose "Installing FusionPBX" verbose "Installing FusionPBX"
#install dependencies
yum -y install git yum -y install git
yum -y install ghostscript libtiff-devel libtiff-tools yum -y install ghostscript libtiff-devel libtiff-tools
#forensics tools
wget https://forensics.cert.org/cert-forensics-tools-release-el7.rpm wget https://forensics.cert.org/cert-forensics-tools-release-el7.rpm
rpm -Uvh cert-forensics-tools-release*rpm rpm -Uvh cert-forensics-tools-release*rpm
yum -y --enablerepo=forensics install lame yum -y --enablerepo=forensics install lame
if [ .$USE_SYSTEM_MASTER = .true ]; then
if [ .$system_branch = "master" ]; then
verbose "Using master" verbose "Using master"
BRANCH="" BRANCH=""
else else
@ -29,4 +34,5 @@ fi
#get the source code #get the source code
git clone $BRANCH https://github.com/fusionpbx/fusionpbx.git /var/www/fusionpbx git clone $BRANCH https://github.com/fusionpbx/fusionpbx.git /var/www/fusionpbx
#send a message
verbose "FusionPBX Installed" verbose "FusionPBX Installed"