packages.yml: small fix

This commit is contained in:
Ivan Max 2023-11-15 22:49:08 +03:00 committed by GitHub
parent 4222df85d1
commit dfa8de1706
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ jobs:
done
if [ ! -z "$packages" ]; then
if grep -qP "(^|\s)$packages($|\s)" ./scripts/big-pkgs.list; then
if grep -qP "(^|\s)${packages// /($|\s)|(^|\s)}($|\s)" ./scripts/big-pkgs.list; 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)') \