From a548ee79039896618ebe89e090d4ef32138a002f Mon Sep 17 00:00:00 2001 From: GitHub Workflow Date: Sun, 29 Mar 2026 00:17:07 +0000 Subject: [PATCH] Runs update.sh --- 32/apache/entrypoint.sh | 7 +++---- 32/fpm-alpine/entrypoint.sh | 7 +++---- 32/fpm/entrypoint.sh | 7 +++---- 33/apache/entrypoint.sh | 7 +++---- 33/fpm-alpine/entrypoint.sh | 7 +++---- 33/fpm/entrypoint.sh | 7 +++---- 6 files changed, 18 insertions(+), 24 deletions(-) diff --git a/32/apache/entrypoint.sh b/32/apache/entrypoint.sh index 4fc363f3..d8d21c1f 100755 --- a/32/apache/entrypoint.sh +++ b/32/apache/entrypoint.sh @@ -35,7 +35,6 @@ run_path() { while read -r script_file_path; do if ! [ -x "${script_file_path}" ]; then echo "==> The script \"${script_file_path}\" was skipped, because it lacks the executable flag" - found=$((found-1)) continue fi @@ -49,10 +48,10 @@ run_path() { echo "==> Finished executing the script: \"${script_file_path}\"" done - if [ "$found" -lt "1" ]; then - echo "==> Skipped: the \"$1\" folder does not contain any valid scripts" + if [ "$found" -gt "0" ]; then + echo "=> Completed executing scripts in the \"$1\" folder" else - echo "=> Completed executing scripts in the \"$1\" folder" + echo "==> Skipped: the \"$1\" folder does not contain any valid scripts" fi ) } diff --git a/32/fpm-alpine/entrypoint.sh b/32/fpm-alpine/entrypoint.sh index 4fc363f3..d8d21c1f 100755 --- a/32/fpm-alpine/entrypoint.sh +++ b/32/fpm-alpine/entrypoint.sh @@ -35,7 +35,6 @@ run_path() { while read -r script_file_path; do if ! [ -x "${script_file_path}" ]; then echo "==> The script \"${script_file_path}\" was skipped, because it lacks the executable flag" - found=$((found-1)) continue fi @@ -49,10 +48,10 @@ run_path() { echo "==> Finished executing the script: \"${script_file_path}\"" done - if [ "$found" -lt "1" ]; then - echo "==> Skipped: the \"$1\" folder does not contain any valid scripts" + if [ "$found" -gt "0" ]; then + echo "=> Completed executing scripts in the \"$1\" folder" else - echo "=> Completed executing scripts in the \"$1\" folder" + echo "==> Skipped: the \"$1\" folder does not contain any valid scripts" fi ) } diff --git a/32/fpm/entrypoint.sh b/32/fpm/entrypoint.sh index 4fc363f3..d8d21c1f 100755 --- a/32/fpm/entrypoint.sh +++ b/32/fpm/entrypoint.sh @@ -35,7 +35,6 @@ run_path() { while read -r script_file_path; do if ! [ -x "${script_file_path}" ]; then echo "==> The script \"${script_file_path}\" was skipped, because it lacks the executable flag" - found=$((found-1)) continue fi @@ -49,10 +48,10 @@ run_path() { echo "==> Finished executing the script: \"${script_file_path}\"" done - if [ "$found" -lt "1" ]; then - echo "==> Skipped: the \"$1\" folder does not contain any valid scripts" + if [ "$found" -gt "0" ]; then + echo "=> Completed executing scripts in the \"$1\" folder" else - echo "=> Completed executing scripts in the \"$1\" folder" + echo "==> Skipped: the \"$1\" folder does not contain any valid scripts" fi ) } diff --git a/33/apache/entrypoint.sh b/33/apache/entrypoint.sh index 4fc363f3..d8d21c1f 100755 --- a/33/apache/entrypoint.sh +++ b/33/apache/entrypoint.sh @@ -35,7 +35,6 @@ run_path() { while read -r script_file_path; do if ! [ -x "${script_file_path}" ]; then echo "==> The script \"${script_file_path}\" was skipped, because it lacks the executable flag" - found=$((found-1)) continue fi @@ -49,10 +48,10 @@ run_path() { echo "==> Finished executing the script: \"${script_file_path}\"" done - if [ "$found" -lt "1" ]; then - echo "==> Skipped: the \"$1\" folder does not contain any valid scripts" + if [ "$found" -gt "0" ]; then + echo "=> Completed executing scripts in the \"$1\" folder" else - echo "=> Completed executing scripts in the \"$1\" folder" + echo "==> Skipped: the \"$1\" folder does not contain any valid scripts" fi ) } diff --git a/33/fpm-alpine/entrypoint.sh b/33/fpm-alpine/entrypoint.sh index 4fc363f3..d8d21c1f 100755 --- a/33/fpm-alpine/entrypoint.sh +++ b/33/fpm-alpine/entrypoint.sh @@ -35,7 +35,6 @@ run_path() { while read -r script_file_path; do if ! [ -x "${script_file_path}" ]; then echo "==> The script \"${script_file_path}\" was skipped, because it lacks the executable flag" - found=$((found-1)) continue fi @@ -49,10 +48,10 @@ run_path() { echo "==> Finished executing the script: \"${script_file_path}\"" done - if [ "$found" -lt "1" ]; then - echo "==> Skipped: the \"$1\" folder does not contain any valid scripts" + if [ "$found" -gt "0" ]; then + echo "=> Completed executing scripts in the \"$1\" folder" else - echo "=> Completed executing scripts in the \"$1\" folder" + echo "==> Skipped: the \"$1\" folder does not contain any valid scripts" fi ) } diff --git a/33/fpm/entrypoint.sh b/33/fpm/entrypoint.sh index 4fc363f3..d8d21c1f 100755 --- a/33/fpm/entrypoint.sh +++ b/33/fpm/entrypoint.sh @@ -35,7 +35,6 @@ run_path() { while read -r script_file_path; do if ! [ -x "${script_file_path}" ]; then echo "==> The script \"${script_file_path}\" was skipped, because it lacks the executable flag" - found=$((found-1)) continue fi @@ -49,10 +48,10 @@ run_path() { echo "==> Finished executing the script: \"${script_file_path}\"" done - if [ "$found" -lt "1" ]; then - echo "==> Skipped: the \"$1\" folder does not contain any valid scripts" + if [ "$found" -gt "0" ]; then + echo "=> Completed executing scripts in the \"$1\" folder" else - echo "=> Completed executing scripts in the \"$1\" folder" + echo "==> Skipped: the \"$1\" folder does not contain any valid scripts" fi ) }