[sys-apps/gpu-detector] drop opengl-activator usage, old and unreliable
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
AUX gpu-configuration 22410 RMD160 69c068d75b4fec87a5d51e0a619ccd1811bb47d4 SHA1 79e52d24226697314f951275ead122bf6b71d1b5 SHA256 98e4781236353ea7e55be4d385b56a22b67ddf1c805b6d9e87da764b3af0ed78
|
||||
EBUILD gpu-detector-2.5.0-r1.ebuild 897 RMD160 5321dbbe705d27c4886cd5bb911aed0d5be0ad70 SHA1 9d3467641fbea239b646dab6b6b862038a7117b6 SHA256 76ddc2e0a5c39d0e80db83edb43a72d8e669bde2910e449af5d2c7ff21da6a2c
|
||||
AUX gpu-configuration 22228 RMD160 f5f820c0e07700d0c25a88822c98f90a56d05d8d SHA1 3b654af07324c653b984899c9f5ab6e8824f486f SHA256 c5ce1f27572928fbab4e601e8d12e4e75b93dba811ee12930c163fc5802f8658
|
||||
EBUILD gpu-detector-2.5.0-r2.ebuild 897 RMD160 5321dbbe705d27c4886cd5bb911aed0d5be0ad70 SHA1 9d3467641fbea239b646dab6b6b862038a7117b6 SHA256 76ddc2e0a5c39d0e80db83edb43a72d8e669bde2910e449af5d2c7ff21da6a2c
|
||||
|
||||
@@ -325,11 +325,7 @@ def opengl_activate(profile):
|
||||
current = opengl_show()
|
||||
default_profile = "xorg-x11"
|
||||
if (not dryrun):
|
||||
if (livecd):
|
||||
if (profile != default_profile) or (profile == default_profile and current != default_profile):
|
||||
os.system("opengl-activator "+profile+" &> /dev/null")
|
||||
else:
|
||||
os.system("eselect opengl set "+profile+" &> /dev/null")
|
||||
os.system("eselect opengl set "+profile+" &> /dev/null")
|
||||
else:
|
||||
print("I was about to set opengl subsystem to: "+profile)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user