U
    i©¹dŒ  ã                   @   s,   d dl mZmZmZ G dd„ deeeƒZdS )é    )ÚPluginÚDebianPluginÚUbuntuPluginc                   @   s    e Zd ZdZdZdZdd„ ZdS )ÚDpkgzDebian Package ManagementZdpkg)ZsysmgmtZpackagemanagerc                 C   s^   | j ddd |  d¡r,|   d¡ |   d¡ |  ddg¡ |  d	¡sP|  d
¡ n
|  d¡ d S )Nzdpkg -lzinstalled-debs)Zroot_symlinkZverifyzdpkg -Vzdpkg -Cz/var/cache/debconf/config.datz/etc/debconf.confZall_logsz/var/log/dpkg.logz/var/log/dpkg.log*)Zadd_cmd_outputZ
get_optionZadd_copy_spec)Úself© r   ú9/usr/lib/python3/dist-packages/sos/report/plugins/dpkg.pyÚsetup   s    


þ
z
Dpkg.setupN)Ú__name__Ú
__module__Ú__qualname__Z
short_descZplugin_nameZprofilesr	   r   r   r   r   r      s   r   N)Zsos.report.pluginsr   r   r   r   r   r   r   r   Ú<module>   s   