0x1998 - MANAGER
Düzenlenen Dosya: hardened_php.cpython-311.pyc
� �·i)7 � � � d dl Z d dlZd dlZd dlZd dlZd dlZd dlZd dlmZ d dl m Z mZ d dlm Z mZ d dlmZ d dlmZmZmZmZ d dlmZ d dlmZmZmZmZmZ ej e� � Z G d � d � � Z! G d� de!e� � Z" G d � de!e� � Z# G d� de� � Z$ G d� de$� � Z% G d� de"� � Z& G d� de&� � Z'dee fd�Z(dS )� N)�abstractmethod)�List�Optional)�Core� Packaging)� LicenseCLN)�AbstractFeature�FeatureError� FeatureStatus�ea4_only)�cPanel)� OsReleaseInfo� check_run�run�run_cmd_and_log� os_versionc � � e Zd ZdZdZdZeddee fd�� � Z edefd�� � Z ed� � � Zeede fd �� � � � Zed � � � Zede fd�� � Zej d� � � Zej d � � � Zdefd�ZdS )�SimpleInstallerMixIna� This is a mixin class implementing common case installation scenario. Installation is supposed to be through a single command cls.INSTALL_CMD. Removal is done through interpolating a space separated list of package names to remove into cls.REMOVE_CMD_TMPL. List of packages to remove is obtained by collecting all installed alt-php* packages except those we want to keep (as returned by required_packages()). z /bin/falseN�enabledc � � d S �N� ��selfr s �W/opt/imunify360/venv/lib/python3.11/site-packages/im360/subsys/features/hardened_php.py� generate_repoz"SimpleInstallerMixIn.generate_repo- � � ��� c � � K � d S r r r s r �pre_install_cmdz$SimpleInstallerMixIn.pre_install_cmd1 � � � � ��r c � � d S r r �r s r �remove_repoz SimpleInstallerMixIn.remove_repo5 r r �returnc � �"