chore: Update alpha-build.sh script to handle xvfb-run not found and enable LTO only when not cross-compiling

This commit is contained in:
Mauro Balades
2024-07-20 02:07:39 +02:00
parent 093a9625a7
commit e3c465b59a

View File

@@ -2,10 +2,10 @@ set -x
export ZEN_RELEASE=1
if command -v apt &> /dev/null
if command -v apt-get &> /dev/null
then
sudo apt update
sudo apt install -y xvfb
sudo apt-get update
sudo apt-get install -y xvfb
fi
# Check if xfvb is installed