From 00fe6130fe1edaee8b491f24447fe97ecd549b63 Mon Sep 17 00:00:00 2001 From: peelz Date: Wed, 25 Sep 2024 18:22:13 -0400 Subject: [PATCH] fix(dist/arch): remove package suggestion messages lspci may not be present in the build environment (especially if building in a chroot) --- dist/arch/PKGBUILD | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/dist/arch/PKGBUILD b/dist/arch/PKGBUILD index c8c7241..f4f0233 100644 --- a/dist/arch/PKGBUILD +++ b/dist/arch/PKGBUILD @@ -61,25 +61,6 @@ build() { package() { meson install -C build --no-rebuild --destdir "${pkgdir}" - - # We will check for optional packages here: - # Check for NVIDIA GPU and if monado-vulkan-layers-git is not already installed - if lspci | grep -qi nvidia && ! pacman -Qm monado-vulkan-layers-git &>/dev/null; then - printf "\033[0;31m" # red - echo -e "\n" - echo "An NVIDIA GPU has been detected on your system." - echo "For NVIDIA GPU, 'monado-vulkan-layers-git' from the AUR is recommended." - echo "Please install it manually using an AUR helper, e.g., yay -S monado-vulkan-layers-git" - printf "\033[0m" # no color - fi - - # Ask to install libudev0-shim - if ! pacman -Q libudev0-shim &>/dev/null; then - printf "\033[0;31m" # red - echo -e "\n" - echo "The package 'libudev0-shim' is recommended for lighthouse driver support." - printf "\033[0m" # no color - fi }