git installieren falls nicht vorhanden (Ubuntu Minimized)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
rene 2026-03-12 18:06:59 +01:00
parent fe5a515bfe
commit 8e0c2d8e11

View file

@ -37,6 +37,12 @@ echo "════════════════════════
echo " macbook-setup für MBP $MODEL\"" echo " macbook-setup für MBP $MODEL\""
echo "════════════════════════════════════════════" echo "════════════════════════════════════════════"
# ── Voraussetzungen (git fehlt in Ubuntu Server Minimized) ────────────────
if ! command -v git &>/dev/null; then
echo -e "\n>>> git wird installiert..."
sudo apt update && sudo apt install -y git
fi
# ── Phase 1: Repos lokal klonen ────────────────────────────────────────── # ── Phase 1: Repos lokal klonen ──────────────────────────────────────────
echo -e "\n>>> Phase 1: Repos lokal bereitstellen" echo -e "\n>>> Phase 1: Repos lokal bereitstellen"