+[[ ! $(which mpd) ]] && sudo apt-get update

This commit is contained in:
qo-op 2020-05-19 22:20:31 +02:00
parent e6a1e2b02c
commit 8aead95a7e
1 changed files with 1 additions and 3 deletions

View File

@ -49,7 +49,7 @@ if [[ ! $(which youtube-dl) ]]; then
fi
# AUDIO LAYER
sudo apt-get update
[[ ! $(which mpd) ]] && sudo apt-get update
sudo apt-get install libid3-tools mpd mpc lame -y || err=1
sudo apt-get install lame sox libsox-fmt-mp3 eyed3 python-chardet imagemagick curl -y #libav-tools || err=1
sudo apt-get install ca-certificates git-core binutils rsync alsa-utils bc espeak mpg321 fuse atomicparsley -y || err=1
@ -64,11 +64,9 @@ mkdir ~/.config/mpd && sudo cp -f /etc/mpd.conf ~/.config/mpd/mpd.conf && sudo c
mkdir -p ~/.zen/video
mkdir -p ~/.zen/audio
mkdir -p ~/.zen/playlists
mkdir -p /home/$YOU/.zen/ipfs/.$IPFSNODEID/TASK/loveland_entrance
## CHOWN mpd FILES STRUCTURE
sudo chown -R $USER /var/lib/mpd/ /var/run/mpd /run/mpd /var/log/mpd
sudo service mpd restart || err=1