ok
Direktori : /opt/cloudlinux/venv/lib64/python3.11/site-packages/clconfigure/__pycache__/ |
Current File : //opt/cloudlinux/venv/lib64/python3.11/site-packages/clconfigure/__pycache__/files.cpython-311.pyc |
� ;G�f� � �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