mirror of
https://github.com/nextcloud/docker.git
synced 2025-04-20 02:46:10 +02:00
Use more laconic find parameters set in docker-entrypoint.sh
Signed-off-by: Yevhen Kolomeiko <Jarvis2709@gmail.com>
This commit is contained in:
parent
179788a71a
commit
b85370011f
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ run_path() {
|
||||||
echo "=> Searching for scripts (*.sh) to run, located in the folder: ${hook_folder_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 -o -type l -maxdepth 1 -iname '*.sh' -print | sort | while read -r script_file_path; do
|
find "${hook_folder_path}" -maxdepth 1 -iname '*.sh' '(' -type f -o -type l ')' -print | sort | while read -r script_file_path; do
|
||||||
if ! [ -x "${script_file_path}" ]; then
|
if ! [ -x "${script_file_path}" ]; then
|
||||||
echo "==> The script \"${script_file_path}\" was skipped, because it didn't have the executable flag"
|
echo "==> The script \"${script_file_path}\" was skipped, because it didn't have the executable flag"
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Add table
Reference in a new issue