Use consistent conditional

This commit is contained in:
David Heinemeier Hansson
2025-07-22 12:37:57 -04:00
parent ba1e50daa9
commit 8071642b66
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
echo "Install wf-recorder for screen recording for nvidia"
if [ -n "$(lspci | grep -i 'nvidia')" ]; then
if lspci | grep -qi 'nvidia'; then
if ! command -v wf-recorder &>/dev/null; then
yay -S --noconfirm --needed wf-recorder
fi