packages.yml: small fix

This commit is contained in:
Ivan Max
2023-11-15 22:27:31 +03:00
committed by GitHub
parent 97a9b1ee8f
commit bab992b296

View File

@@ -182,7 +182,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)') \