PK
œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Notice: ob_end_clean(): Failed to delete buffer. No buffer to delete in /home/mazaqgee/jamerehmat.com/xcr.php on line 8
| Dir : /lib/python3.6/site-packages/up2date_client/__pycache__/ |
| Server: Linux premium155.web-hosting.com 4.18.0-553.89.1.lve.el8.x86_64 #1 SMP Wed Dec 10 13:58:50 UTC 2025 x86_64 IP: 162.0.235.198 |
| Dir : //lib/python3.6/site-packages/up2date_client/__pycache__/up2dateUtils.cpython-36.pyc |
3
�Z�i� � @ s~ d Z ddlZddlZddlZddlmZ ddlmZ ejddd�Z e
e d�sTe je _e jZd d
� Z
dd� Zd
d� Zdd� ZdS )zutility functions for up2date� N)�config)�getPlatformzrhn-client-toolsT)Zfallback�ugettextc C s6 t j� } | d rt| d �S t� dkr.tj� S tj� S )z3
Returns the version of redhat-release rpm
ZversionOverride�deb)r ZinitUp2dateConfig�strr �distroZcodenameZ
major_version)Zcfg� r �"/usr/lib/python3.6/up2dateUtils.py�
getVersion s
r
c C s t � dkrdS dS )z(
Returns the name of the system
r ZUbuntuZ
CloudLinux)r r r r r �getOSRelease# s
r c C sz t jdt j�r@tdd�} | j� j� }ddi}||kr<|| }|S t j� d }t� dkrv|dkrbd
}|dkrnd}|d
7 }|S )Nz/etc/rpm/platform�rzia32e-redhat-linuxzx86_64-redhat-linux� r �i486�i586�i686Zi386Zx86_64�amd64z
-debian-linux)r r r )�os�access�R_OK�open�read�strip�unamer )�fd�platform�replaceZarchr r r �getArch, s
r c C s dS )Nz03.0.3-1.module_el8.10.0+7020+fd2ced8d.cloudlinuxr r r r r �versionA s r )�__doc__r �gettextr Zup2date_clientr Zup2date_client.pkgplatformr Ztranslation�t�hasattrr �_r
r r r r r r r �<module> s