shell/+mpd: fix arch detection condition

This commit is contained in:
Henrik Lissner 2017-05-05 21:32:40 +02:00
parent 50e540615c
commit 248abb6ddc

View file

@ -7,7 +7,7 @@ case $OSTYPE in
ln -sfv $HOME/.config/mpd/mpd-osx.conf $HOME/.config/mpd/mpd.conf
;;
linux*)
if [[ -f /etc/arch-version ]]; then
if [[ -f /etc/arch-release ]]; then
sudo pacman --needed --noconfirm -S mpd mpc ncmpcpp
fi
ln -sfv $HOME/.config/mpd/mpd-linux.conf $HOME/.config/mpd/mpd.conf