[Uludag-commits] r16284 - trunk/comar/zorg

uludag-commits at pardus.org.tr uludag-commits at pardus.org.tr
11 Ara 2007 Sal 09:47:45 EET


Author: fatih
Date: Tue Dec 11 09:47:44 2007
New Revision: 16284

Modified:
   trunk/comar/zorg/zorg
Log:
update opengl implementation

Modified: trunk/comar/zorg/zorg
=================================================================
--- trunk/comar/zorg/zorg	(original)
+++ trunk/comar/zorg/zorg	Tue Dec 11 09:47:44 2007
@@ -1074,6 +1074,14 @@
 
     write_tmpl(keys_main)
 
+    if not "livecd" in getKernelOpt("mudur"):
+        impls = {
+            "fglrx"     : "ati",
+            "nvidia"    : "nvidia"
+        }
+
+        run("/sbin/update-opengl", impls.get(cards[0].Driver, "xorg-x11"));
+
 def safeConfigure(_driver = "vesa"):
     # set failsafe graphics card
     safedrv = _driver.upper()
@@ -1121,6 +1129,9 @@
 
     write_tmpl(keys_main)
 
+    if not "livecd" in getKernelOpt("mudur"):
+        run("/sbin/update-opengl", "xorg-x11");
+
 def activeCardChanged(cards):
     out.sect("Videocards changed, reconfiguring X")
     backup(xorg_conf)


Uludag-commits mesaj listesiyle ilgili daha fazla bilgi