mirror of
https://github.com/casjaysdevdocker/mysql
synced 2024-11-21 05:23:06 -05:00
🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/functions/entrypoint.sh
This commit is contained in:
parent
2bad19b783
commit
26a1f81d01
@ -191,7 +191,7 @@ __certbot() {
|
|||||||
}
|
}
|
||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
__init_config_etc() {
|
__init_config_etc() {
|
||||||
if [ ! -d "$CONF_DIR" ] || __is_dir_empty "$CONF_DIR"; then
|
if __is_dir_empty "$CONF_DIR" || [ ! -d "$CONF_DIR" ]; then
|
||||||
if [ -d "$ETC_DIR" ]; then
|
if [ -d "$ETC_DIR" ]; then
|
||||||
mkdir -p "$CONF_DIR"
|
mkdir -p "$CONF_DIR"
|
||||||
__copy_templates "$ETC_DIR/." "$CONF_DIR/"
|
__copy_templates "$ETC_DIR/." "$CONF_DIR/"
|
||||||
|
Loading…
Reference in New Issue
Block a user