Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Convert install.sh line endings so it works on Windows out of the box (#703)

Leendert de Borstaf24464a8dde
diff --git a/.gitattributes b/.gitattributes
index dfe077042..fab27f433 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,2 +1,22 @@
-# Auto detect text files and perform LF normalization
+# Set default behavior to automatically normalize line endings
* text=auto
+
+# Shell scripts should always use LF (Unix-style) line endings
+*.sh text eol=lf
+
+# Batch scripts should always use CRLF (Windows-style) line endings
+*.bat text eol=crlf
+*.cmd text eol=crlf
+
+# Docker files should use LF
+Dockerfile text eol=lf
+docker-compose*.yml text eol=lf
+
+# Config files should use LF
+*.conf text eol=lf
+*.config text eol=lf
+.env* text eol=lf
+
+# Documentation should be normalized
+*.md text
+*.txt text
\ No newline at end of file