Skip to content

Commit 71962c5

Browse files
ltangvaldyosifkit
authored andcommitted
Rename function docker_init_database_dir to docker_create_db_directories
1 parent 04b03e0 commit 71962c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.template.Debian/docker-entrypoint.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ docker_verify_minimum_env() {
136136
}
137137

138138
# Creates and initializes the database directory
139-
docker_init_database_dir() {
139+
docker_create_db_directories() {
140140
mkdir -p "$DATADIR"
141141

142142
mysql_note "Initializing database files"
@@ -273,7 +273,7 @@ _main() {
273273
# If this is true then there's no database, and it needs to be initialized
274274
if [ ! -d "$DATADIR/mysql" ]; then
275275
docker_verify_minimum_env
276-
docker_init_database_dir "$@"
276+
docker_create_db_directories "$@"
277277
docker_init_client_command
278278

279279
mysql_note "Starting temporary server"

0 commit comments

Comments
 (0)