+
    ïgó  ã                   ó  € ^ RI t ^ RIt^ RIt^ RIt^ RItRt]3R lt]3R lt]R8X  Ed   ]P                  ! 4       ^ 8X  g   ]
! R4       ] P                  ! ^4       R] P                  ^ &   ]P                  ! ]P                  RR	R
7       ]P                  ! R] P                  ^ ,          ,          4       ]P                   P#                  ]4      '       g%   ]P                  ! R4       ] P                  ! ^ 4       ]P                   P%                  ]4      ^ 8X  d7   ]P                  ! R4       ]P&                  ! ]4       ] P                  ! ^ 4       ]R,           ]P(                  ! R4      ,           t]P,                  ! R],          4       ]P.                  ! ]]4       Rt ]! R4       U u. uF  q P5                  4       ^ ,          NK  	  up t] F  t]R8X  g   K  Rt M	  ]'       gR   ]! ]4      ;_uu_ 4       tR]P?                  4       9   d"   ]P                  ! R],          4       ]! R4       RRR4       R# R# R# u up i   ] d(    ]P                  ! R4       ] P                  ! ^ 4        L£i ; i  + '       g   i     R# ; i)é    Nz/etc/X11/xorg.confc                ón  € \         P                  P                  V4      '       g    \        P                  ! RV,          4       R# . p\        V4      ;_uu_ 4       pV FÜ  pVP                  R4      ^ ,          P                  4       pVP                  4       P                  R4      '       d~   VP                  RV ,          4      '       d`   \        P                  ! RVP                  4       ,          4       RV,          p\        P                  ! RVP                  4       ,          4       VP                  V4       KÞ  	  RRR4       \        V4      ;_uu_ 4       pVP                  4       V8w  d†   \        P                  ! R	V: R
V : RV: R24       \        VR,           R4      ;_uu_ 4       pVP!                  RP#                  V4      4       RRR4       \         P$                  ! VR,           V4       RRR4       R#   + '       g   i     LÈ; i  + '       g   i     LK; i  + '       g   i     R# ; i)zZ
this removes old_driver driver from the xorg.conf and substitutes it with
the new_driver
úfile %s not foundNÚ#Údriverú"%s"úline '%s' foundz	Driver	"%s"
úreplacing with '%s'úsaving new z (z -> Ú)ú	.xorg_fixÚwÚ ©ÚosÚpathÚexistsÚloggingÚwarningÚopenÚsplitÚstripÚlowerÚ
startswithÚendswithÚdebugÚrstripÚappendÚ	readlinesÚinfoÚwriteÚjoinÚrename)Ú
old_driverÚ
new_driverÚxorgÚcontentÚ	xorg_fileÚlineÚsÚxorg_fix_files   &&&     ÚB/usr/lib/python3/dist-packages/DistUpgrade/xorg_fix_proprietary.pyÚreplace_driver_from_xorgr,      sr  € ô
 �7‰7�>‰>˜$×ÒÜ�ŠÐ+¨dÕ2Ô3ÙØ€GÜ	ˆd�Œ�yÛˆDà—
‘
˜3“ Õ"×(Ñ(Ó*ˆAà—‘“	×$Ñ$ X×.Ò.Ø—J‘J˜v¨
Õ2×3Ò3Ü—’Ð/°$·+±+³-Õ?Ô@Ø)¨JÕ6�Ü—’Ð3°d·k±k³mÕCÔDØ�N‰N˜4Ö ñ ÷ 
ô 
ˆd�Œ�yØ×ÑÓ  GÔ+Ü�L‹LÛ£
«Jð8ô 9ä�d˜[Õ(¨#×.Ô.°-Ø×#Ñ# B§G¡G¨GÓ$4Ô5÷ /ä�IŠI�d˜[Õ(¨$Ô/÷ 
‰÷ 
�ú÷  /×.ú÷	 
�ˆús9   ÁA.G=Ã	A4G=ÅAH#Æ,!H	Ç&H#Ç=H	ÈH ÈH#È#H4	c           	     óf  € \         P                  P                  V4      '       g    \        P                  ! RV,          4       R# . p\        V4      ;_uu_ 4       pV FÜ  pVP                  R4      ^ ,          P                  4       pVP                  4       P                  R4      '       d~   VP                  RV ,          4      '       d`   \        P                  ! RVP                  4       ,          4       RV,          p\        P                  ! RVP                  4       ,          4       VP                  V4       KÞ  	  RRR4       \        V4      ;_uu_ 4       pVP                  4       V8w  d‚   \        P                  ! R	V: R
V : R24       \        VR,           R4      ;_uu_ 4       pVP!                  RP#                  V4      4       RRR4       \         P$                  ! VR,           V4       RRR4       R#   + '       g   i     LÄ; i  + '       g   i     LK; i  + '       g   i     R# ; i)z+
this comments out a driver from xorg.conf
r   Nr   r   r   r   z#%sr	   r
   z (commenting r   r   r   r   r   )r#   r%   r&   r'   r(   r)   r*   s   &&     r+   Úcomment_out_driver_from_xorgr.   .   so  € ô �7‰7�>‰>˜$×ÒÜ�ŠÐ+¨dÕ2Ô3ÙØ€GÜ	ˆd�Œ�yÛˆDà—
‘
˜3“ Õ"×(Ñ(Ó*ˆAà—‘“	×$Ñ$ X×.Ò.Ø—J‘J˜v¨
Õ2×3Ò3Ü—’Ð/°$·+±+³-Õ?Ô@Ø˜t•|�Ü—’Ð3°d·k±k³mÕCÔDØ�N‰N˜4Ö ñ ÷ 
ô 
ˆd�Œ�yØ×ÑÓ  GÔ+Ü�L‹LÛ£
ð,ô -ä�d˜[Õ(¨#×.Ô.°-Ø×#Ñ# B§G¡G¨GÓ$4Ô5÷ /ä�IŠI�d˜[Õ(¨$Ô/÷ 
‰÷ 
�ú÷  /×.ú÷	 
�ˆús9   ÁA.G9Ã	A4G9ÅAHÆ(!H	Ç	&HÇ9H		ÈHÈHÈH0	Ú__main__zNeed to run as rootz/usr/bin/do-release-upgradez$/var/log/dist-upgrade/xorg_fixup.logr   )ÚlevelÚfilenameÚfilemodez
%s runningzNo xorg.conf, exitingz xorg.conf is zero size, removingz.dist-upgrade-z
%Y%m%d%H%Mzcreating backup '%s'Fz/proc/moduleszCan't read /proc/modulesÚnvidiaTzRemoving nvidia from %s) Úsysr   r   ÚtimeÚshutilÚ	XORG_CONFr,   r.   Ú__name__ÚgetuidÚprintÚexitÚargvÚbasicConfigÚDEBUGr   r   r   ÚgetsizeÚremoveÚstrftimeÚbackupr   Úcopyr3   r   r   ÚmodsÚIOErrorÚmÚxorg_conf_fileÚread)r(   s   0r+   Ú<module>rI      s  ðó Û 	Û Û Û ð !€	ð ;Dô 0ð< 3<ô 0ð: ˆzÕØ�9Š9‹;˜!ÔÙÐ#Ô$Ø�Š�Œð 0€C‡H�HˆQ�Kð ×Ò˜gŸm™mØ!GØ!$õ&ð ‡L‚L� §¡¨¥Õ+Ô,à�7‰7�>‰>˜)×$Ò$Ø�ŠÐ,Ô-Ø�Š�Œð 
‡w�w‡��yÓ! QÔ&Ø�ŠÐ7Ô8Ø
�	Š	�)ÔØ�Š�Œð Ð)Õ)¨D¯MªM¸,Ó,GÕG€FØ‡M‚MÐ(¨6Õ1Ô2Ø
‡K‚K�	˜6Ô"à€FðÙ,0°Ô,AÓBÑ,A D—
‘
“˜Q—�Ñ,AÑBˆó ˆØ�Ž=ØˆFÙñ ÷
 Ù�)�_Œ_ Ø˜>×.Ñ.Ó0Ô0Ø—’Ð6¸ÕBÔCÙ,¨XÔ6÷ ‰_ñ ñU ùòB CøØô Ø�ŠÐ/Ô0Ø�Š�Žðú÷ �_ˆ_ús0   Æ
H? Æ'H:ÇH? Ç57I0È:H? È?+I-É,I-É0J	