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: void-repo-nonfree PACKAGES="nvidia390" function post_install { #TODO: nvidia modeset kernel parameter? echo "nvidia/nvidia390" >> /tmp/stage-2-choices }