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