mirror of
https://github.com/bitnami/containers.git
synced 2026-03-16 06:49:12 +08:00
3.10.2-debian-10-r12 release
This commit is contained in:
@@ -9,7 +9,7 @@ set -o pipefail
|
||||
|
||||
# Only execute init scripts once
|
||||
if [[ ! -f "/bitnami/moodle/.user_scripts_initialized" && -d "/docker-entrypoint-init.d" ]]; then
|
||||
read -r -a init_scripts <<< "$(find "/docker-entrypoint-init.d" -type f -print0 | xargs -0)"
|
||||
read -r -a init_scripts <<< "$(find "/docker-entrypoint-init.d" -type f -print0 | sort -z | xargs -0)"
|
||||
if [[ "${#init_scripts[@]}" -gt 0 ]] && [[ ! -f "/bitnami/moodle/.user_scripts_initialized" ]]; then
|
||||
mkdir -p "/bitnami/moodle"
|
||||
for init_script in "${init_scripts[@]}"; do
|
||||
|
||||
Reference in New Issue
Block a user