From b17859182f84cc952b2fe2a9102ec100e5ff3a00 Mon Sep 17 00:00:00 2001 From: rern Date: Sun, 9 Feb 2025 10:02:37 +0700 Subject: [PATCH] Update install.sh --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 86ce19684..a678def6e 100644 --- a/install.sh +++ b/install.sh @@ -17,7 +17,7 @@ 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 -i '/^pipeline/,$ d' "$file" + sed -n '/^pipeline/,$ p' "$file" | grep -q 'channel:' && sed -i '/^pipeline/,$ d' "$file" done [[ $camillaactive ]] && pacman start camilladsp fi