mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-10-04 06:15:09 +00:00
Updates that move HEAD now install changed systemd units through a root-owned helper (/usr/local/sbin/ledmatrix-refresh-units, two literal sudo lines), with a backup restored on rollback; a refresh that fails part-way puts the old units back. Devices without the new sudo rule keep updating and are told to re-run the installer once. The one-shot installer now checks out the newest vX.Y.Z release (LEDMATRIX_CHANNEL=beta keeps main) and never moves an existing checkout backwards. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
16 lines
617 B
Plaintext
16 lines
617 B
Plaintext
# Auto detect text files and perform LF normalization
|
|
* text=auto
|
|
|
|
# Files the Pi executes must stay LF even in a Windows checkout with
|
|
# core.autocrlf=true: a CRLF shebang line fails with "bad interpreter",
|
|
# and systemd rejects CRLF unit files.
|
|
*.sh text eol=lf
|
|
*.service text eol=lf
|
|
|
|
# Generated by scripts/build_css.py; collapsed in diffs, not hand-edited.
|
|
web_interface/static/v3/tailwind.css linguist-generated=true
|
|
web_interface/static/v3/plugin-frame.css linguist-generated=true
|
|
|
|
# Installed as an executable (its shebang runs it) by install_service.sh.
|
|
scripts/install/ledmatrix_refresh_units.py text eol=lf
|