From d415db77f69c0566c5c2ee778a80e7ce617bc605 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sun, 27 Oct 2024 14:17:16 +0100 Subject: [PATCH] Remove obsolete fix --- scripts/Common/Software/nvidia-dkms/main.fish | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/scripts/Common/Software/nvidia-dkms/main.fish b/scripts/Common/Software/nvidia-dkms/main.fish index 06074c85..ba45c051 100755 --- a/scripts/Common/Software/nvidia-dkms/main.fish +++ b/scripts/Common/Software/nvidia-dkms/main.fish @@ -4,9 +4,6 @@ begin source "$dir/../../Scripts/software.fish" function configureSW -V dir - set -l indicator "GRUB_CMDLINE_LINUX_DEFAULT=\"" - set -l config "nvidia_drm.fbdev=1" - # According to: https://wiki.archlinux.org/title/NVIDIA/Tips_and_tricks begin printf %s\n \ @@ -18,16 +15,6 @@ begin nvidia-suspend.service \ nvidia-hibernate.service \ nvidia-resume.service - - if ! cat /etc/default/grub | grep "$indicator.*$config" >/dev/null - sudo sed -i /etc/default/grub \ - -e "/$indicator/{" \ - -e "s/\($indicator.*[^ ]\)\(\"\)/\1 \2/" \ - -e "s/\($indicator.*\)\(\"\)/\1$config\2/" \ - -e "}" - - fish "$dir/../grub/main.fish" configure - end end runInstaller $argv