🗃️ Committing everything that changed 🗃️

rootfs/usr/local/etc/docker/functions/entrypoint.sh
This commit is contained in:
casjay 2024-08-11 22:47:19 -04:00
parent 06527889c6
commit 03e0e8dc0a
Signed by untrusted user who does not match committer: jason
GPG Key ID: 1AB309F42A764145

View File

@ -191,7 +191,7 @@ __certbot() {
}
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
__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
mkdir -p "$CONF_DIR"
__copy_templates "$ETC_DIR/." "$CONF_DIR/"