Skip to content

Commit 0a9e03b

Browse files
committed
Fixed issue with .env file creation
1 parent 68cf609 commit 0a9e03b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

check.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ BGGREEN='\033[42m'
99
# 1. Check .env file, local IP address and Magento secret key
1010
DOT_ENV=.env
1111

12-
if [ -f "${DOT_ENV}" ]; then
12+
if [ ! -f "${DOT_ENV}" ]; then
1313
cp .env.dist .env
1414
echo "${BGGREEN}[OK] ${DOT_ENV} was created successfully.";
1515
fi

0 commit comments

Comments
 (0)