agent: Arch support
This commit is contained in:
@@ -14,7 +14,13 @@ fi
|
||||
if [[ -z "$SKIP_CMATRIX_CONFIG" ]]; then
|
||||
if ! command -v cmatrix &> /dev/null; then
|
||||
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
|
||||
sudo apt-get install -qq cmatrix &>/dev/null
|
||||
if command -v apt-get >/dev/null 2>&1; then
|
||||
sudo apt-get install -qq cmatrix &>/dev/null
|
||||
elif command -v pacman >/dev/null 2>&1; then
|
||||
sudo pacman -S --noconfirm cmatrix &>/dev/null
|
||||
else
|
||||
log_warn "Skipping cmatrix install: no supported package manager found"
|
||||
fi
|
||||
elif [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
brew install cmatrix
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user