/opt/cloudlinux/venv/lib/python3.11/site-packages/clconfigure/__pycache__
Edit: /opt/cloudlinux/venv/lib/python3.11/site-packages/clconfigure/__pycache__/files.cpython-311.pyc (1550B)
ܨ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.pyremove_cl_edition_filer s* "##**d*;;;;;r c . t j ddgt j t j } | \ }}| j dk rdS 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)stdoutstderrr Nwb)
subprocessPopenPIPEcommunicate
returncodeopenr write)pr
r fs r
update_cl_edition_filer s -/AB *
I I IA]]__NFF|q
' . . ! s 'B
BB)r pathlibr clcommon.lib.constsr r r r r r
r s_ 9 9 9 9 9 9<