1
0
mirror of https://github.com/docker-mailserver/docker-mailserver.git synced 2025-08-08 23:06:49 +02:00

make Bash start user-patches.sh (#2295)

This commit is contained in:
Georg Lauterbach
2021-11-13 10:19:56 +01:00
committed by GitHub
parent cf4682fe5e
commit 6c1c669619

View File

@ -1738,11 +1738,7 @@ function _setup_user_patches
if [[ -f ${USER_PATCHES} ]] if [[ -f ${USER_PATCHES} ]]
then then
_notify 'tasklog' 'Applying user patches' _notify 'tasklog' 'Applying user patches'
if [[ ! -x ${USER_PATCHES} ]]; then bash "${USER_PATCHES}"
_notify 'inf' 'Making user patches script executable'
chmod +x "${USER_PATCHES}"
fi
${USER_PATCHES}
else else
_notify 'inf' "No optional '/tmp/docker-mailserver/user-patches.sh' provided. Skipping." _notify 'inf' "No optional '/tmp/docker-mailserver/user-patches.sh' provided. Skipping."
fi fi