From 4eabde994d9972344e469ebb27e79b08eca4625e Mon Sep 17 00:00:00 2001 From: "info@pi-farm.de" Date: Wed, 27 May 2026 23:10:17 +0000 Subject: [PATCH] setup_x11_jarvis.sh aktualisiert --- setup_x11_jarvis.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/setup_x11_jarvis.sh b/setup_x11_jarvis.sh index bc67bb1..5a0f8b2 100755 --- a/setup_x11_jarvis.sh +++ b/setup_x11_jarvis.sh @@ -96,7 +96,11 @@ chmod +x "$REAL_HOME/.xinitrc" chown -R "$REAL_USER:$REAL_USER" "$REAL_HOME/.config" "$REAL_HOME/.xinitrc" # J.A.R.V.I.S. .env Template (Leerzeichen bei [ ] und EOF korrigiert) -if [ -z "$JARVIS_DIR/config/.env" ]; then +if [ ! -f "$JARVIS_DIR/config/.env" ]; then + echo "📝 Erstelle .env Konfigurationsdatei..." + # Stelle sicher, dass der config-Ordner existiert + mkdir -p "$JARVIS_DIR/config" + cat << 'EOF' > "$JARVIS_DIR/config/.env" WEB_USER_NAME="$REAL_USER" AI_PROVIDER=nvdia