shell/+mpd: fix arch detection condition
This commit is contained in:
parent
50e540615c
commit
248abb6ddc
|
@ -7,7 +7,7 @@ case $OSTYPE in
|
||||||
ln -sfv $HOME/.config/mpd/mpd-osx.conf $HOME/.config/mpd/mpd.conf
|
ln -sfv $HOME/.config/mpd/mpd-osx.conf $HOME/.config/mpd/mpd.conf
|
||||||
;;
|
;;
|
||||||
linux*)
|
linux*)
|
||||||
if [[ -f /etc/arch-version ]]; then
|
if [[ -f /etc/arch-release ]]; then
|
||||||
sudo pacman --needed --noconfirm -S mpd mpc ncmpcpp
|
sudo pacman --needed --noconfirm -S mpd mpc ncmpcpp
|
||||||
fi
|
fi
|
||||||
ln -sfv $HOME/.config/mpd/mpd-linux.conf $HOME/.config/mpd/mpd.conf
|
ln -sfv $HOME/.config/mpd/mpd-linux.conf $HOME/.config/mpd/mpd.conf
|
||||||
|
|
Loading…
Reference in a new issue