Keep the lib32 driver helper from failing when no GPU is detected

With an empty package list the trailing && left the helper with exit
status 1, which stopped the Steam installer before Steam was installed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kike FerraterandClaude Opus 5.5 committed 2026-09-25 19:26:21 +02:00
1 parent 4c5f363df7
commit 65883c3890
2 files changed
+6 -3

No files matched your search

+3 -1
View File
@@ -27,4 +27,6 @@ elif omarchy-hw-nvidia-without-gsp; then
PACKAGES+=(lib32-nvidia-580xx-utils)
fi
(( ${#PACKAGES[@]} > 0 )) && omarchy-pkg-add "${PACKAGES[@]}"
if (( ${#PACKAGES[@]} > 0 )); then
omarchy-pkg-add "${PACKAGES[@]}"
fi
+3 -2
View File
@@ -10,8 +10,9 @@ echo "Installing Steam..."
# Install the lib32 drivers first. Steam depends on the virtual package
# lib32-vulkan-driver, and omarchy-pkg-add runs pacman with --noconfirm, which
# resolves an unsatisfied virtual dependency to the first provider without
# asking. That provider is lib32-nvidia-utils, so installing Steam ahead of the
# drivers pulls the NVIDIA stack onto machines that have no NVIDIA GPU.
# asking. That provider is currently lib32-nvidia-utils, so installing Steam
# ahead of the drivers pulls the NVIDIA stack onto machines that have no NVIDIA
# GPU.
omarchy-install-gaming-gpu-lib32
omarchy-pkg-add steam