Fix CI workflow grep command syntax
All checks were successful
Build ostree packages from sid to trixie / build (push) Successful in 1m0s

- Replace problematic grep -E with multiple simple grep commands
- This avoids shell interpretation issues with the pipe character in the pattern
- Each dependency is checked individually for better debugging
This commit is contained in:
robojerk 2025-09-06 09:41:43 -07:00
parent eac5d4783d
commit 0224f0cbca

View file

@ -124,7 +124,10 @@ jobs:
echo 'Running dpkg-buildpackage...' echo 'Running dpkg-buildpackage...'
echo 'Build dependencies check:' echo 'Build dependencies check:'
dpkg -l | grep -E "libglib2.0-dev|libfuse3-dev|libsoup2.4-dev|libarchive-dev|libcurl4-openssl-dev|libsystemd-dev" || echo "Some dependencies missing" echo "Checking if key dependencies are installed..."
dpkg -l | grep libglib2.0-dev || echo "libglib2.0-dev not found"
dpkg -l | grep libfuse3-dev || echo "libfuse3-dev not found"
dpkg -l | grep libsystemd-dev || echo "libsystemd-dev not found"
if dpkg-buildpackage -us -uc -b; then if dpkg-buildpackage -us -uc -b; then
echo 'Build successful!' echo 'Build successful!'