helm/shell/mpd/install
2016-12-25 15:54:05 -05:00

17 lines
424 B
Bash
Executable file

#!/usr/bin/env bash
case $OSTYPE in
darwin*)
brew install mpd mpc
brew install ncmpcpp --with-clock --with-visualizer
brew services start mpd
;;
linux*)
if [[ -f /etc/arch-version ]]; then
sudo pacman --needed --noconfirm -S mpd mpc ncmpcpp
systemctl enable --user mpd.service
systemctl start --user mpd.service
fi
;;
esac