git installieren falls nicht vorhanden (Ubuntu Minimized)
This commit is contained in:
parent
37fa959182
commit
b4220333ed
1 changed files with 6 additions and 0 deletions
6
setup.sh
6
setup.sh
|
|
@ -37,6 +37,12 @@ echo "════════════════════════
|
|||
echo " macbook-setup für MBP $MODEL\""
|
||||
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 ──────────────────────────────────────────
|
||||
echo -e "\n>>> Phase 1: Repos lokal bereitstellen"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue