Update documentation and Dockerfile for Homebrew installation; fix version in config.yaml to 0.5.35

This commit is contained in:
techartdev
2026-02-08 20:02:56 +02:00
parent a329088436
commit df94522752
4 changed files with 52 additions and 9 deletions
+8
View File
@@ -4,6 +4,14 @@
REAL_BREW="/home/linuxbrew/.linuxbrew/bin/brew"
# Check if Homebrew is actually installed
if [ ! -x "$REAL_BREW" ]; then
echo "ERROR: Homebrew is not installed (likely due to unsupported CPU - requires SSSE3)." >&2
echo "Some OpenClaw skills that depend on CLI tools (gemini, aider, etc.) will not work." >&2
echo "Consider using a newer CPU or installing dependencies manually." >&2
exit 127
fi
if [ "$(id -u)" = "0" ]; then
# Running as root - use sudo to run as linuxbrew user
# Preserve necessary environment variables and properly pass all arguments