chore: Update Xvfb installation check in alpha-build.sh

This commit is contained in:
Mauro Balades
2024-07-30 23:04:06 +02:00
parent 3bd2d169b4
commit b1a3f97592
6 changed files with 12 additions and 16 deletions

View File

@@ -10,8 +10,7 @@ ulimit -n 4096
# Check if xfvb is installed
if ! command -v Xvfb &> /dev/null; then
if ! test "$ZEN_CROSS_COMPILING"
then
if ! test "$ZEN_CROSS_COMPILING"; then
Xvfb :2 -screen 0 1024x768x24 &
export LLVM_PROFDATA=$HOME/.mozbuild/clang/bin/llvm-profdata
export DISPLAY=:2