diff --git a/files/usr/local/bin/install-homebrew.sh b/files/usr/local/bin/install-homebrew.sh deleted file mode 100644 index 97afd61..0000000 --- a/files/usr/local/bin/install-homebrew.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/env bash -set -euo pipefail - -USER="$1" -HOME="/var/home/$USER" -export HOME -export NONINTERACTIVE=1 - -# Homebrew installieren (als User, aber ohne Interaktion) -HOME="$HOME" NONINTERACTIVE=1 bash -c ' - /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" --prefix="$HOME/.linuxbrew" -' - -# Optional: Brew in PATH eintragen -if ! grep -q 'linuxbrew' "$HOME/.bashrc"; then - echo 'eval "$($HOME/.linuxbrew/bin/brew shellenv)"' >> "$HOME/.bashrc" -fi -