Skip to content

Commit

Permalink
fix opengl detection
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgessinger committed Dec 16, 2024
1 parent 1cf57ef commit 2791c5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CI/dependencies/opengl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ fi

os=$(spack arch --platform)

if [ "$os" == ubuntu* ]; then
if [[ "$os" == ubuntu* ]]; then
${SUDO} apt-get update
${SUDO} apt-get install -y libgl1-mesa-dev
cat <<EOF > "$packages_file"
Expand All @@ -26,7 +26,7 @@ packages:
spec: [email protected]
EOF
cat "$packages_file"
elif [ "$os" == almalinux* ]; then
elif [[ "$os" == almalinux* ]]; then
${SUDO} dnf install -y mesa-libGLU
cat <<EOF > "$packages_file"
packages:
Expand Down

0 comments on commit 2791c5c

Please sign in to comment.