packages CI: large package regex use grep -P like the rest
This commit is contained in:
parent
edd39cacef
commit
ad5531d6aa
|
@ -177,7 +177,7 @@ jobs:
|
|||
done
|
||||
|
||||
if [ ! -z "$packages" ]; then
|
||||
if grep -q '\(^\|\s\)\(clvk\|dart\|libllvm\|rust\|rustc-nightly\|swift\|tinygo\|wasmer\|zig\|firefox\)$' <<< "$packages"; then
|
||||
if grep -qP '(^|\s)(clvk|dart|libllvm|rust|rustc-nightly|swift|tinygo|wasmer|zig|firefox)($|\s)' <<< "$packages"; then
|
||||
./scripts/setup-ubuntu.sh
|
||||
sudo apt install ninja-build
|
||||
sudo apt purge -yq $(dpkg -l | grep '^ii' | awk '{ print $2 }' | grep -P '(aspnetcore|cabal-|dotnet-|ghc-|libmono|php)') \
|
||||
|
|
Loading…
Reference in New Issue