Immich: Ensure newline before appending IMMICH_HELMET_FILE to .env

This commit is contained in:
MickLesk
2026-04-11 22:11:20 +02:00
parent daaa137cec
commit f0e7d67c24

View File

@@ -276,6 +276,7 @@ EOF
sed -i '/^DB_DATABASE_NAME/a DB_HOSTNAME=127.0.0.1' "$INSTALL_DIR"/.env
fi
if ! grep -q 'HELMET_FILE' "$INSTALL_DIR"/.env; then
sed -i -e '$a\' "$INSTALL_DIR"/.env
echo "IMMICH_HELMET_FILE=true" >>"$INSTALL_DIR"/.env
fi