Update UPDATE.sh

This commit is contained in:
Stefan Pejcic 2025-03-31 14:56:22 +02:00 committed by GitHub
parent 9a93a3b406
commit b265f53e10
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -22,4 +22,10 @@ $INSERT_TEXT" "$file"
fi
fi
fi
file="$dir/docker-compose.yml"
if [[ -f "$file" ]]; then
sed -i '/^\s*php-fpm\s*$/s/php-fpm/php-fpm --allow-to-run-as-root/' $file
fi
done