mirror of
https://gitlab.com/gabmus/envision.git
synced 2025-07-29 04:08:48 +00:00
fix(dist/arch): remove package suggestion messages
lspci may not be present in the build environment (especially if building in a chroot)
This commit is contained in:
parent
3f2d8fd766
commit
00fe6130fe
1 changed files with 0 additions and 19 deletions
19
dist/arch/PKGBUILD
vendored
19
dist/arch/PKGBUILD
vendored
|
@ -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
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue