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