Skip to content

Commit

Permalink
Merge pull request #934 from rern/UPDATE
Browse files Browse the repository at this point in the history
Update
  • Loading branch information
rern authored May 26, 2022
2 parents 3278271 + d348da5 commit 2be4204
Show file tree
Hide file tree
Showing 21 changed files with 393 additions and 1,541 deletions.
16 changes: 15 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,22 @@

alias=r1

# 20220527
if [[ $( pacman -Q camilladsp 2> /dev/null ) == 'camilladsp 0.6.3-1' ]]; then
systemctl stop camilladsp camillagui
pacman -R --noconfirm camillagui
pacman -Sy --noconfirm camilladsp camillagui-backend python-pycamilladsp python-pycamilladsp-plot
rm -rf /srv/http/settings/camillagui/build
mkdir /srv/http/settings/camillagui/build
ln -sf /srv/http/assets/fonts /srv/http/settings/camillagui/build
fi
if grep -q 'force user = mpd' /etc/samba/smb.conf; then
sed -i 's/\(force user = \).*/\1http/' /etc/samba/smb.conf
systemctl try-restart smb
fi

# 20220505
[[ ! -e /srv/http/data/system/asoundcard ]] && cp /srv/http/data/{shm,system}/asoundcard
[[ ! -e /srv/http/data/system/asoundcard && ! -e /srv/http/data/shm/nosound ]] && cp /srv/http/data/{shm,system}/asoundcard

dir=/srv/http/shareddata
if [[ -e $dir ]]; then
Expand Down
Loading

0 comments on commit 2be4204

Please sign in to comment.