diff --git a/script/install.d/81-cmatrix.sh b/script/install.d/81-cmatrix.sh new file mode 100644 index 0000000..1d5a082 --- /dev/null +++ b/script/install.d/81-cmatrix.sh @@ -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