mirror of
https://github.com/nextcloud/docker.git
synced 2025-04-20 02:46:10 +02:00
Update docker-entrypoint.sh
Small adjustments Signed-off-by: Dennis Værum <6872940+dvaerum@users.noreply.github.com>
This commit is contained in:
parent
d7d781037d
commit
1d51268bf5
1 changed files with 2 additions and 2 deletions
|
@ -32,8 +32,8 @@ run_path() {
|
|||
echo "=> Searching for scripts (*.sh) to run, located in the folder: ${hook_folder_path}"
|
||||
|
||||
(
|
||||
find "${hook_folder_path}" -type f -maxdepth 1 -iname '*.sh' -print | sort | while read script_file_path; do
|
||||
if ! [ -x "${script_file_path}" ] && [ -f "${script_file_path}" ]; then
|
||||
find "${hook_folder_path}" -type f -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
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue