feat: install cmatrix
This commit is contained in:
14
script/install.d/81-cmatrix.sh
Normal file
14
script/install.d/81-cmatrix.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# Description:
|
||||
# Install cmatrix.
|
||||
#
|
||||
|
||||
if ! command -v "cmatrix" &>/dev/null; then
|
||||
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
|
||||
sudo apt-get install -qq cmatrix &>/dev/null
|
||||
elif [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
brew install cmatrix
|
||||
fi
|
||||
fi
|
||||
Reference in New Issue
Block a user