Skip to content

Commit

Permalink
🚧 profiles: fix incorrect escaping EOF
Browse files Browse the repository at this point in the history
  • Loading branch information
vnepogodin committed Aug 11, 2024
1 parent 57c92e6 commit afb771e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions profiles/pci/graphic_drivers/profiles.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ EOF
# without letting the dGPU fully sleep or keeping it running for long
# periods of time.
# See: https://gitlab.gnome.org/GNOME/mutter/-/issues/2969
cat <<\EOF >/etc/profile.d/nvidia-rt3d-workaround.sh
cat << 'EOF' >/etc/profile.d/nvidia-rt3d-workaround.sh
if [ -n "$(lspci -d "10de:*:0302")" ]; then
export __EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/50_mesa.json
fi
Expand Down Expand Up @@ -149,7 +149,7 @@ EOF
# without letting the dGPU fully sleep or keeping it running for long
# periods of time.
# See: https://gitlab.gnome.org/GNOME/mutter/-/issues/2969
cat <<\EOF >/etc/profile.d/nvidia-rt3d-workaround.sh
cat << 'EOF' >/etc/profile.d/nvidia-rt3d-workaround.sh
if [ -n "$(lspci -d "10de:*:0302")" ]; then
export __EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/50_mesa.json
fi
Expand Down

0 comments on commit afb771e

Please sign in to comment.