From de8ab1eeb7d266501480d43813f17f82d2c07082 Mon Sep 17 00:00:00 2001 From: Dylan Date: Tue, 9 Feb 2016 20:54:24 +1100 Subject: [PATCH] Fix lspci not found on open SUSE --- fetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fetch b/fetch index 77ca216e..dd27e847 100755 --- a/fetch +++ b/fetch @@ -863,7 +863,7 @@ getgpu () { case "$os" in "Linux") # Get the GPUs - gpu="$(lspci | grep -F "VGA")" + gpu="$(PATH="/usr/sbin:$PATH" lspci | grep -F "VGA")" gpu=${gpu//??':'??'.'?} # Count the number of GPUs