Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a00d28c

Browse filesBrowse files
authored
Merge pull request solidnerd#46 from shuaiscott/patch-1
Fixing .env overwrite issue
2 parents 475dbe6 + 462d82a commit a00d28c
Copy full SHA for a00d28c

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎docker-entrypoint.sh

Copy file name to clipboardExpand all lines: docker-entrypoint.sh
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ echoerr() { echo "$@" 1>&2; }
77
IFS=":" read -r DB_HOST_NAME DB_PORT <<< "$DB_HOST"
88
DB_PORT=${DB_PORT:-3306}
99

10-
if [ ! -f '$BOOKSTACK_HOME/.env' ]; then
10+
if [ ! -f "$BOOKSTACK_HOME/.env" ]; then
1111
if [[ "${DB_HOST}" ]]; then
1212
cat > "$BOOKSTACK_HOME/.env" <<EOF
1313
# Environment

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.