prepare working directory

This commit is contained in:
example 2017-03-27 18:31:33 +06:00
parent 6a95af8a65
commit 256d1a4f91
1 changed files with 5 additions and 0 deletions

View File

@ -6,5 +6,10 @@ apt-get update && apt-get upgrade -y --force-yes
#install git
apt-get install -y --force-yes git
#prepare dir
if [ ! -d /usr/src ]; then
mkdir -vp /usr/src
fi
#get the install script
cd /usr/src && git clone https://github.com/fusionpbx/fusionpbx-install.sh.git