diff options
Diffstat (limited to 'pkgs/servers/home-assistant/build-custom-component/manifest-requirements-check-hook.sh')
| -rw-r--r-- | pkgs/servers/home-assistant/build-custom-component/manifest-requirements-check-hook.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/servers/home-assistant/build-custom-component/manifest-requirements-check-hook.sh b/pkgs/servers/home-assistant/build-custom-component/manifest-requirements-check-hook.sh index cfe61f4308a6..3a96d75e2915 100644 --- a/pkgs/servers/home-assistant/build-custom-component/manifest-requirements-check-hook.sh +++ b/pkgs/servers/home-assistant/build-custom-component/manifest-requirements-check-hook.sh @@ -13,7 +13,13 @@ function manifestCheckPhase() { args+=" --ignore-version-requirement ${package}" done - readarray -d '' manifests < <(find . -type f -name "manifest.json" -print0) + readarray -d '' manifests < <( + find . -type f \( \ + -path ./manifest.json \ + -o -path './custom_components/*/manifest.json' \ + -o -path './custom_components/*/integrations/*/manifest.json' \ + \) -print0 + ) if [ "${#manifests[@]}" -gt 0 ]; then # shellcheck disable=SC2068 |
