From a6e3ba0aa064cbce7768ec9b857d8733e766d44f Mon Sep 17 00:00:00 2001 From: zomars Date: Thu, 5 Oct 2017 16:20:40 -0600 Subject: [PATCH] Override public folder in boltflow This should be configured accordingly --- boltflow.sh | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/boltflow.sh b/boltflow.sh index abe84c1..475fcc7 100755 --- a/boltflow.sh +++ b/boltflow.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -PUBLICFOLDER="" +PUBLICFOLDER="public" echo "⇒ Boltflow 🚀 - version 0.5.3" @@ -10,17 +10,6 @@ PWD="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" # Store bolt's install directory WD="$PWD/www" -if [[ $PUBLICFOLDER = "" ]] && [[ -d "$WD/public_html" ]] ; then - PUBLICFOLDER="public_html" -elif [[ $PUBLICFOLDER = "" ]] && [[ -d "$WD/html" ]] ; then - PUBLICFOLDER="html" -elif [[ $PUBLICFOLDER = "" ]] && [[ -d "$WD/public" ]] ; then - PUBLICFOLDER="public" -elif [[ $PUBLICFOLDER = "" ]] ; then - echo "" - echo "ERROR: Could not determine the PUBLICFOLDER. Please edit boltflow.sh, and set PUBLICFOLDER manually." -fi - if [[ $1 = "update" ]] ; then COMPOSERCOMMAND="update" else