Server IP : 192.158.238.246 / Your IP : 18.222.112.116 Web Server : LiteSpeed System : Linux uniform.iwebfusion.net 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64 User : jenniferflocom ( 1321) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/cloudlinux/venv/lib64/python3.11/site-packages/clconfigure/__pycache__/ |
Upload File : |
� _{�g� � �2 � d dl Z d dlmZ d dlmZ d� Zd� ZdS )� N)�Path)�CL_EDITION_FILE_FOR_USERSc �V � t t � � � d�� � dS )zx Remove the file that contains the CloudLinux edition for end-user access. See CLOS-2411 for more info. T)� missing_okN)r r �unlink� � �py/clconfigure/files.py�remove_cl_edition_filer s* � � � "�#�#�*�*�d�*�;�;�;�;�;r c �x � t j ddgt j t j �� � 5 } | � � � \ }}| j dk r ddd� � dS ddd� � n# 1 swxY w Y t t d� � 5 }|� |� � ddd� � dS # 1 swxY w Y dS )z8 Populate edition cache again with new edition. z/usr/bin/cldetectz--detect-edition)�stdout�stderrr N�wb)� subprocess�Popen�PIPE�communicate� returncode�openr �write)�procr �_�fs r �update_cl_edition_filer sY � � � � �0�1����� � � � � ��$�$�&�&� ����?�a����� � � � � � � � � � � � � � � � � � � ���� � � � � �'�� .� .� �!� �������� � � � � � � � � � � ���� � � � � � s# �$A,�,A0�3A0�B/�/B3�6B3)r �pathlibr �clcommon.lib.constsr r r r r r �<module>r s_ �� � � � � � � � � � � 9� 9� 9� 9� 9� 9�<� <� <�� � � � r