mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
make Bash start user-patches.sh (#2295)
This commit is contained in:
parent
cf4682fe5e
commit
6c1c669619
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue