Skip to content

Commit

Permalink
Update install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
rern authored Feb 9, 2025
1 parent b178591 commit d7e6abd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ if [[ -e /usr/bin/camilladsp && $( camilladsp -V ) != 'CamillaDSP 3.0.0' ]]; the
pacman -Sy --noconfirm camilladsp
readarray -t files <<< $( ls $dircamilladsp/configs/* )
for file in "${files[@]}"; do
sed -n '/^pipeline/,$ p' "$file" | grep -q 'channel:' && sed -i '/^pipeline/,$ d' "$file"
if sed -n '/^pipeline/,$ p' "$file" | grep -q 'channel:'; then
sed -i '/^pipeline/,$ d' "$file"
echo 'pipeline: []' >> "$file"
fi
done
[[ $camillaactive ]] && pacman start camilladsp
fi
Expand Down

0 comments on commit d7e6abd

Please sign in to comment.