From 1555d2a3677b9a51c6f337164c4d3b8739442ca4 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Tue, 11 Mar 2025 17:13:34 +0900 Subject: [PATCH] updated install.sh --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index b243c29..04d2663 100755 --- a/install.sh +++ b/install.sh @@ -88,7 +88,7 @@ sleep 1 printf "\n%.0s" {1..1} # install pciutils if detected not installed. Necessary for detecting GPU -if ! zypper se -i pciutils > /dev/null; then +if ! dpkg -l | grep -w pciutils > /dev/null; then echo "pciutils is not installed. Installing..." | tee -a "$LOG" sudo apt install -y pciutils printf "\n%.0s" {1..1}