Update documentation and Dockerfile for Homebrew installation; fix version in config.yaml to 0.5.35
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user