From 6c1c6696195bbb6839b82abb6ac00c042125e5a9 Mon Sep 17 00:00:00 2001 From: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com> Date: Sat, 13 Nov 2021 10:19:56 +0100 Subject: [PATCH] make Bash start user-patches.sh (#2295) --- target/scripts/startup/setup-stack.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/target/scripts/startup/setup-stack.sh b/target/scripts/startup/setup-stack.sh index 72f45303..fc83e65e 100644 --- a/target/scripts/startup/setup-stack.sh +++ b/target/scripts/startup/setup-stack.sh @@ -1738,11 +1738,7 @@ function _setup_user_patches if [[ -f ${USER_PATCHES} ]] then _notify 'tasklog' 'Applying user patches' - if [[ ! -x ${USER_PATCHES} ]]; then - _notify 'inf' 'Making user patches script executable' - chmod +x "${USER_PATCHES}" - fi - ${USER_PATCHES} + bash "${USER_PATCHES}" else _notify 'inf' "No optional '/tmp/docker-mailserver/user-patches.sh' provided. Skipping." fi