Hacked By AnonymousFox
�
".g� � � � d dl mZ d dlmZ d dlmZmZ d dlmZ d� Z ed� � dde
fd �� � Zd
edee fd�Z
d
S )� )�ThreadPoolExecutor)�Iterator)�task�run)�install_packagec �D � t dd�� � t � � d S )Nzcloudlinux-linksafeT)� reinstall)r �assign_linksafe_group� � �py/clconfigure/linksafe.py�initialize_linksafer
s* � �
�)�T�:�:�:�:������r zMAssigning linksafe group to files of 'alt-*' packages residing under /opt/alt� �concurrencyc � � t | �� � 5 }t ddd� � D ]}|� t d|g� � � d d d � � d S # 1 swxY w Y d S )N)�max_workerszalt-php*zalt-python*z alt-ruby*z /usr/bin/cl-linksafe-apply-group)r �_installed_packages_iter�submitr )r �tp�packages r
r
r
s� � � �� 4� 4� 4� J��/����
�
� J� J�G�
�I�I�c�>��H�I�I�I�I� J�J� J� J� J� J� J� J� J� J� J� J� J���� J� J� J� J� J� Js �2A�A�A�patterns�returnc '