Update tools/addon/homebrew.sh

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
Morgan Prior
2026-02-26 13:58:41 +00:00
committed by GitHub
parent 566b6c331b
commit 0b68f923b6

View File

@@ -79,7 +79,7 @@ su - "$BREW_USER" -c 'NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.gi
msg_ok "Installed Homebrew"
msg_info "Configuring Shell Integration"
cat > /etc/profile.d/homebrew.sh << 'EOF'
cat <<'EOF'> /etc/profile.d/homebrew.sh
#!/bin/bash
if [ -d "/home/linuxbrew/.linuxbrew" ]; then
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"