0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-04-19 18:36:09 +02:00

Fix docker-entrypoint.sh for alpine

Signed-off-by: Yevhen Kolomeiko <Jarvis2709@gmail.com>
This commit is contained in:
Yevhen Kolomeiko 2023-12-12 23:32:22 +01:00 committed by GitHub
parent c29024e8c5
commit ab7267ff94
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,7 +32,7 @@ run_path() {
echo "=> Searching for scripts (*.sh) to run, located in the folder: ${hook_folder_path}"
(
find "${hook_folder_path}" -type f,l -maxdepth 1 -iname '*.sh' -print | sort | while read -r script_file_path; do
( find "${hook_folder_path}" -type f -maxdepth 1 -iname '*.sh' -print; find "${hook_folder_path}" -type l -maxdepth 1 -iname '*.sh' -print ) | sort | while read -r script_file_path; do
if ! [ -x "${script_file_path}" ]; then
echo "==> The script \"${script_file_path}\" was skipped, because it didn't have the executable flag"
continue