+
    i	  c                   s`    ^ RI HtHtHt  ! R R]4      t ! R R]]4      t ! R R]]4      tR# )	i    )PluginRedHatPluginUbuntuPluginc                   s6   a  ] tR t^t o RtRtRtRtR tRt	V t
R# )AlternativeszSystem alternativesalternativesNc                s   V P                  V P                   R 24       . p. ROpV P                  V P                  4      pVR,          ^ 8X  d   VR,          P	                  4        F3  pVP                  4       ^ ,          pWR9  g   K"  VP                  V4       K5  	  V P                   R2pT P                  V Uu. uF  qVV,          NK  	  up4       R# R# u upi )z
 --versionZstatusZoutputz --display %sN)ZcdrecordZldZmkisofsZwhoisZxinputrc)Zadd_cmd_outputalternatives_cmdZcollect_cmd_outputalternatives_listZ
splitlinesZsplitZappend)selfZaltsZignoreZresZlineZaltZdisp_cmds   &      D/usr/lib/python3.14/site-packages/sos/report/plugins/alternatives.pysetupZAlternatives.setup   s    t445Z@A
 %%d&<&<=x=AH002jjl1o$KK$ 3 //0>H4 @4CC4 @A  !As   :C )__name__
__module____qualname____firstlineno__Z
short_descZplugin_namer   r   r	   __static_attributes____classdictcell__)__classdict__s   @r   r   r      s'     &J KB B    r   c                   sH   a a ] tR t^,t oRtRtRt] R2tV 3R ltRt	Vt
V ;t# )RedHatAlternativesr   z --listc                sN   < \         SV `  4        V P                  R RRR/4       R# )zalternatives --display java.*Zdisplay_javazalternatives --display python.*Zalternatives_display_pythonN)superr	   Zadd_cmd_tagsr   	__class__   &r   r	   ZRedHatAlternatives.setup4   s*    +^--
 	r   r
   )r   r   r   r   r   ZpackagesZcommandsr   r   r	   r   r   Z__classcell__r   r      @@r   r   r   ,   s-      H H%+,G4 r   r   c                   sH   a a ] tR t^?t oRtRtRt] R2tV 3R ltRt	Vt
V ;t# )UbuntuAlternativesupdate-alternativesz --get-selectionsc                s   < \         SV `  4        V P                  R 4      '       d   V P                  R.4       R# V P                  RR.4       R# )Zall_logsz/var/log/alternatives.log*z/var/log/alternatives.logz/var/log/alternatives.log.1N)r   r	   Z
get_optionZadd_copy_specr   r   r   r	   ZUbuntuAlternatives.setupG   sL    ??:&&,   +-  r   r
   )Zdpkg)r   r   r   r   r   r   r   ?   s.     H'H,+,,=> r   r   N)Zsos.report.pluginsr    r   r   r   r   r   r
   r   r   <module>r      s8    B AB6 B<| &| r   