adaptive-lighting/scripts
Ahmad Tawakol 3e78ac7e21
Make scripts/setup-symlinks idempotent (#1590)
`ln -fs` dereferences an existing symlink to a directory and creates the
new link *inside* it, so running the script a second time left two stray
symlinks in the working tree instead of replacing the existing ones:

    tests/tests -> ../../../tests/
    custom_components/adaptive_lighting/adaptive_lighting
        -> ../../../custom_components/adaptive_lighting

Neither path is gitignored, so `git add -A` commits them.

Add `-n` so an existing symlink is treated as a file and replaced.

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-09-08 14:02:45 +02:00
..
develop build: fix tasks not executing in dev container (#1394) 2026-01-13 11:32:17 +01:00
lint build: fix tasks not executing in dev container (#1394) 2026-01-13 11:32:17 +01:00
setup-dependencies fix: replace deprecated get_astral_location with get_astral_observer (#1482) 2026-07-01 23:00:35 -07:00
setup-devcontainer fix: restore hassfest and Home Assistant CI 2026-04-24 11:31:53 -07:00
setup-symlinks Make scripts/setup-symlinks idempotent (#1590) 2026-09-08 14:02:45 +02:00
update-generated-content Fix the markdown-code-runner workflow. 2026-01-20 01:10:17 +00:00
update-test-matrix.py ci: support one year of Home Assistant releases (#1546) 2026-09-06 12:17:22 +02:00