19 lines
368 B
Plaintext
19 lines
368 B
Plaintext
function check {
|
|
[ "$INTERNET" = "down" ] && return 1
|
|
if xbps-query glibc >/dev/null 2>&1; then
|
|
return 0
|
|
else
|
|
return 1
|
|
fi
|
|
}
|
|
|
|
DESCRIPTION="Latest Nvidia driver, supports GTX ??? series and up"
|
|
|
|
#TODO: void-repo-nonfree
|
|
PACKAGES="nvidia"
|
|
|
|
function post_install {
|
|
#TODO: nvidia modeset kernel parameter?
|
|
echo "nvidia/nvidia" >> /tmp/stage-2-choices
|
|
}
|