mirror of
https://github.com/BetterCorp/BetterFrame.git
synced 2026-05-26 15:46:35 +00:00
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.
13 lines
481 B
Text
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
|