diff options
Diffstat (limited to 'x11-drivers/nvidia-drivers/nvidia-drivers-530.41.03-r2.ebuild')
-rw-r--r-- | x11-drivers/nvidia-drivers/nvidia-drivers-530.41.03-r2.ebuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-530.41.03-r2.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-530.41.03-r2.ebuild index 377300e2f9df..6a9917b328fe 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-530.41.03-r2.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-530.41.03-r2.ebuild @@ -410,14 +410,14 @@ https://wiki.gentoo.org/wiki/NVIDIA/nvidia-drivers" VDPAU_SYMLINK) m[4]=vdpau/; m[5]=${m[5]#vdpau/};; # .so to vdpau/ esac - if [[ -v paths[${m[2]}] ]]; then + if [[ -v 'paths[${m[2]}]' ]]; then into=${paths[${m[2]}]} - elif [[ ${m[2]} =~ _BINARY$ ]]; then + elif [[ ${m[2]} == *_BINARY ]]; then into=/opt/bin elif [[ ${m[3]} == COMPAT32 ]]; then use abi_x86_32 || continue into=/usr/${libdir32} - elif [[ ${m[2]} =~ _LIB$|_SYMLINK$ ]]; then + elif [[ ${m[2]} == *_@(LIB|SYMLINK) ]]; then into=/usr/${libdir} else die "No known installation path for ${m[0]}" |