Hacked By AnonymousFox

Current Path : /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

�

ܨ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�.�tjddgtjtj���}|���\}}|jdkrdStt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)�pr
r�fs    r
�update_cl_edition_filers���	��-�/A�B� *��
��	I�	I�	I�A��]�]�_�_�N�F�F��|�q�����	
�'��	.�	.��!�	���������������������������s�'B
�
B�B)r�pathlibr�clcommon.lib.constsrrrrr	r
�<module>rs_������������9�9�9�9�9�9�<�<�<�����r	

Hacked By AnonymousFox1.0, Coded By AnonymousFox