From c8058538ab7f1b6f337c20be9d4271b495251174 Mon Sep 17 00:00:00 2001 From: Mafoo Date: Sat, 11 Jun 2016 15:25:56 +0100 Subject: [PATCH] BugFix use sh function definition (#20) --- README.md | 2 +- install.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index edd93ce..8cc1f39 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ fusionpbx-install.sh This install script that has been designed to be an fast, simple, and modular way to to install FusionPBX. Start with a minimal install of Debian 8 with SSH enabled. Run the following commands under root. It installs FusionPBX, FreeSWITCH release package and its dependencies, IPTables, Fail2ban, NGINX, PHP FPM, and PostgresQL. ```bash -wget https://raw.githubusercontent.com/fusionpbx/fusionpbx-install.sh/master/install.sh -O install.sh && bash install.sh +wget https://raw.githubusercontent.com/fusionpbx/fusionpbx-install.sh/master/install.sh -O install.sh && sh install.sh ``` At the end of the install it will instruct you to go to the ip address of the server in your web browser to finish the install. It will also provide a random database password for you to use during the web based phase of the install. The install script builds the fusionpbx database so you will not need to use the create database username and password on the last page of the web based install. diff --git a/install.sh b/install.sh index 709701e..13baa12 100644 --- a/install.sh +++ b/install.sh @@ -11,7 +11,7 @@ check_OS=$(lsb_release -is) check_Release_Major=$(lsb_release -rs | cut -d. -f1) lsb_release -c | grep -i jessie > /dev/null -function unsupported_OS { +unsupported_OS () { echo " Your OS appears to be: " lsb_release -a echo " Your OS is not currently supported... Exiting the install."