aboutsummaryrefslogtreecommitdiff
path: root/system/nvidia-driver/nvidia-switch
diff options
context:
space:
mode:
authorEdward W. Koenig <kingbeowulf@glinuxgalaxy.org>2020-03-24 18:33:53 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-03-28 13:20:37 +0700
commite08c9b0fcb8ea5d076ce3b5389d4747dcada9a3f (patch)
tree231aeaca696e0fc33ad403dd61586fede0f05f37 /system/nvidia-driver/nvidia-switch
parentf4c55a23c1df3a734f4d7588b2e8776cbbb96c74 (diff)
system/nvidia-driver: fix scripts; updated for version 440.64
Signed-off-by: Edward W. Koenig <kingbeowulf@glinuxgalaxy.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/nvidia-driver/nvidia-switch')
-rw-r--r--system/nvidia-driver/nvidia-switch9
1 files changed, 2 insertions, 7 deletions
diff --git a/system/nvidia-driver/nvidia-switch b/system/nvidia-driver/nvidia-switch
index a1ac84734d3a..30f9a66cb0ef 100644
--- a/system/nvidia-driver/nvidia-switch
+++ b/system/nvidia-driver/nvidia-switch
@@ -20,7 +20,7 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
-# nvidia-switch utility 4.5
+# nvidia-switch utility 4.6
#
# A tool to install and cleanly remove the nvidia driver without stomping on the xorg files.
# Note: this tool "should" allow switching on the fly, but why? Pick a driver! You will still
@@ -41,9 +41,8 @@ NV_VERSION="PKGVERSION" # This will be replaced in the build script
GL_VERSION="1.2.0"
GLVND="yes" # This will be replaced in the build script (yes | no)
-
save_GL(){
-# backup original mesa and xorg conflicts to /var/log/nvidia
+# backup original mesa and xorg conflicts
cd $2
case "$1" in
"nvidia")
@@ -65,10 +64,6 @@ save_GL(){
}
nvidia_install(){
- if [ ! -d $SAVELIBS ]; then
- echo "Creating missing $SAVELIB ..."
- mkdir -p $SAVELIBS
- fi
echo $'Installing to nvidia-driver files!\n'
echo "Make sure the nvidia driver is ENABLED in /etc/X11/xorg.conf"
echo "and in /etc/X11/xorg.conf.d."