HEX
Server: Apache
System: Linux cpanelx.inxs.ro 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: crowdandsafety (1041)
PHP: 8.1.34
Disabled: exec,passthru,shell_exec,system
Upload Files
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