236 |
next if !$device; |
next if !$device; |
237 |
|
|
238 |
if (find { -e join('', "/lib/modules/", c::kernel_version(), $_) } |
if (find { -e join('', "/lib/modules/", c::kernel_version(), $_) } |
239 |
map { ("/dkms/$_", "/dkms-binary/$_", "/kernel/$_") } map { "/drivers/$_" } map { ("extra/$_", "video/$_", "char/$_", "char/drm/$_") } map { $_, "$_.gz" } @{$card->{module_names}}) { |
map { ("/dkms/$_", "/dkms-binary/$_", "/kernel/$_") } map { "/drivers/$_" } map { ("extra/$_", "video/$_", "char/$_", "char/drm/$_") } map { $_, "$_.xz", "$_.gz" } @{$card->{module_names}}) { |
240 |
|
|
241 |
# do not automatically switch from nv to nvidia (in order to handle |
# do not automatically switch from nv to nvidia (in order to handle |
242 |
# cases where nvidia module crashes the system): |
# cases where nvidia module crashes the system): |