chore: add git config for line endings handling

This commit is contained in:
2025-06-16 11:08:03 +02:00
parent b9f51c970c
commit 9d73dcf1d7

View File

@ -2,7 +2,8 @@
set -e
# Use sudo only if not root
git config core.autocrlf false
APT_CMD="apt"
if [ "$(id -u)" -ne 0 ]; then
APT_CMD="sudo apt"