Browse Source

Fix ati driver name.

tags/2.2.29
Mike Hiretsky 9 years ago
parent
commit
eceb006ad0
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      pym/cl_utils.py

+ 2
- 2
pym/cl_utils.py View File

@@ -870,8 +870,8 @@ def getDistfilesVideo(prefix="/"):
"""Get video drivers from distfiles"""
distFiles = path.join(prefix,"usr/portage/distfiles")
return list(set(
map(lambda x:'fglrx' if x.startswith('ati-driver') else "nvidia",
filter(lambda x:x.startswith('ati-driver-installer') or
map(lambda x:'fglrx' if "amd" in x else "nvidia",
filter(lambda x:"amd" in x or
x.startswith('NVIDIA-Linux'),
listDirectory(distFiles)))))



Loading…
Cancel
Save