Skip to content

Commit

Permalink
[Fix] Add env file if not present
Browse files Browse the repository at this point in the history
  • Loading branch information
d3v2a committed Jan 3, 2019
1 parent 248ea56 commit 27ae9bb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
MODULE_DIR=$(pwd)
BIN_DIR="${MODULE_DIR}/bin"
PROJECT_DIR=$(realpath ../..)
if [ -f "${PROJECT_DIR}/.env"]; then
touch "${PROJECT_DIR}/.env"
fi
if [ -d "${PROJECT_DIR}/Config" ]; then
echo "app allready installed"
exit 0
Expand Down

0 comments on commit 27ae9bb

Please sign in to comment.