This commit is contained in:
JaKooLit 2025-03-11 01:43:08 +09:00
parent 40bbd3710e
commit 69333f366e

View File

@ -88,12 +88,13 @@ 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}
fi
# Path to the install-scripts directory
script_directory=install-scripts