void-minecraft-usb/package_selections/nvidia/nvidia390

20 lines
404 B
Plaintext
Raw Normal View History

function check {
[ "$INTERNET" = "down" ] && return 1
if xbps-query glibc >/dev/null 2>&1; then
return 0
else
return 1
fi
}
DESCRIPTION="Legacy Nvidia driver, version 390, supports GTX ??? series"
#TODO: Optimus support?
#TODO: void-repo-nonfree
PACKAGES="nvidia390"
function post_install {
#TODO: nvidia modeset kernel parameter?
echo "nvidia/nvidia390" >> /tmp/stage-2-choices
}