Skip to content

Commit

Permalink
Override public folder in boltflow
Browse files Browse the repository at this point in the history
This should be configured accordingly
  • Loading branch information
zomars committed Oct 5, 2017
1 parent 7d93b99 commit a6e3ba0
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions boltflow.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

PUBLICFOLDER=""
PUBLICFOLDER="public"

echo "⇒ Boltflow 🚀 - version 0.5.3"

Expand All @@ -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
Expand Down

0 comments on commit a6e3ba0

Please sign in to comment.