1
0
mirror of https://github.com/nextcloud/docker.git synced 2026-05-05 12:16:10 +02:00

Runs update.sh

This commit is contained in:
GitHub Workflow 2026-03-29 00:17:07 +00:00
parent 583fbe383c
commit a548ee7903
6 changed files with 18 additions and 24 deletions

View File

@ -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
)
}

View File

@ -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
)
}

View File

@ -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
)
}

View File

@ -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
)
}

View File

@ -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
)
}

View File

@ -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
)
}