fix: normalize deploy shell scripts to LF for Linux curl|bash

CRLF line endings broke manage.sh on Ubuntu (set -e and function syntax errors).
Add .gitattributes to keep *.sh on LF in git.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-08-02 08:41:15 +08:00
parent d9a34d4f20
commit 4743f3efdd
7 changed files with 825 additions and 816 deletions
+9
View File
@@ -0,0 +1,9 @@
# Shell scripts must use LF (Linux deploy via curl | bash)
*.sh text eol=lf
# Docker / compose
Dockerfile text eol=lf
docker-compose.yml text eol=lf
# Default for text
* text=auto