BetterFrame/.gitattributes
Mitchell R bb67c26a1c fix(deploy): mark setup-pi-kiosk.sh executable in git index + add .gitattributes
Windows chmod doesn't propagate to git's mode bits, so the script
landed as 100644 (non-exec) and `./deploy/scripts/setup-pi-kiosk.sh`
gave "command not found" on the Pi. Update index to 100755 and add
.gitattributes to force LF on shell scripts / systemd units to head off
the related CRLF-shebang trap.
2026-05-13 03:33:41 +02:00

13 lines
481 B
Text

# Force LF line endings on files that get executed on Linux. Without this,
# Windows checkouts commit CRLF and shell shebangs break on the Pi
# ("/usr/bin/env bash\r" → command not found).
*.sh text eol=lf
*.bash text eol=lf
*.service text eol=lf
*.script text eol=lf
*.plymouth text eol=lf
Dockerfile* text eol=lf
*.conf text eol=lf
*.yaml text eol=lf
*.yml text eol=lf
deploy/pam.d/* text eol=lf