ok

Mini Shell

Direktori : /opt/cloudlinux/venv/lib64/python3.11/site-packages/clconfigure/__pycache__/
Upload File :
Current File : //opt/cloudlinux/venv/lib64/python3.11/site-packages/clconfigure/__pycache__/files.cpython-311.pyc

�

;G�f���2�ddlZddlmZddlmZd�Zd�ZdS)�N)�Path)�CL_EDITION_FILE_FOR_USERSc�V�tt���d���dS)zx
    Remove the file that contains the CloudLinux edition
    for end-user access.
    See CLOS-2411 for more info.
    T)�
missing_okN)rr�unlink���py/clconfigure/files.py�remove_cl_edition_filers*��	�	"�#�#�*�*�d�*�;�;�;�;�;r	c�x�tjddgtjtj���5}|���\}}|jdkr	ddd��dS	ddd��n#1swxYwYttd��5}|�|��ddd��dS#1swxYwYdS)z8
    Populate edition cache again with new edition.
    z/usr/bin/cldetectz--detect-edition)�stdout�stderrrN�wb)�
subprocess�Popen�PIPE�communicate�
returncode�openr�write)�procr
�_�fs    r
�update_cl_edition_filersY��
�	�	�0�1�����
�
�
��
��$�$�&�&�	����?�a������������ �
������������������
�'��	.�	.��!�	���������������������������s#�$A,�,A0�3A0�B/�/B3�6B3)r�pathlibr�clcommon.lib.constsrrrrr	r
�<module>rs_������������9�9�9�9�9�9�<�<�<�����r	

Zerion Mini Shell 1.0