mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-07-22 11:44:25 +02:00
Change 'for' style (#3368)
This commit is contained in:
parent
8512dba8ad
commit
8bfe8424fc
26 changed files with 43 additions and 86 deletions
|
@ -10,15 +10,13 @@ function _register_setup_function() {
|
|||
function _setup() {
|
||||
# Requires `shopt -s globstar` because of `**` which in
|
||||
# turn is required as we're decending through directories
|
||||
for FILE in /usr/local/bin/setup.d/**/*.sh
|
||||
do
|
||||
for FILE in /usr/local/bin/setup.d/**/*.sh; do
|
||||
# shellcheck source=/dev/null
|
||||
source "${FILE}"
|
||||
done
|
||||
|
||||
_log 'info' 'Configuring mail server'
|
||||
for FUNC in "${FUNCS_SETUP[@]}"
|
||||
do
|
||||
for FUNC in "${FUNCS_SETUP[@]}"; do
|
||||
${FUNC}
|
||||
done
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue