From 27ae9bb139dc4ad9ffb40f007708651ab0ca7736 Mon Sep 17 00:00:00 2001 From: dev2a Date: Sat, 29 Dec 2018 20:00:54 +0100 Subject: [PATCH] [Fix] Add env file if not present --- scripts/install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/install.sh b/scripts/install.sh index ffabc36..bb916ee 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -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