Index: build/install-build-deps.sh |
diff --git a/build/install-build-deps.sh b/build/install-build-deps.sh |
index 36dd9c4a278ff14fbe58a5e4238f788022baceb5..f28409bc092bd7d2f952a441bf7ca34f94ad9379 100755 |
--- a/build/install-build-deps.sh |
+++ b/build/install-build-deps.sh |
@@ -160,7 +160,7 @@ nacl_list="g++-mingw-w64-i686 lib32z1-dev |
# Hence we must match the same version or this entire script will fail. |
mesa_variant="" |
for variant in "-lts-quantal" "-lts-raring" "-lts-saucy" "-lts-trusty"; do |
- if $(dpkg-query -Wf'${Status}' libgl1-mesa-glx${variant} | \ |
+ if $(dpkg-query -Wf'${Status}' libgl1-mesa-glx${variant} 2>/dev/null | \ |
grep -q " ok installed"); then |
mesa_variant="${variant}" |
fi |