관리-도구
편집 파일: lsapi.cpython-311.opt-1.pyc
� �EBgl � � � d dl Z d dlmZ d dlmZmZ d dlmZ d dlm Z m Z mZmZ d dl mZmZmZ d dlmZ d dlmZ d d lmZ dZ G d� d e� � ZdS )� N)�contextmanager)�Dict�List)�Feature)�ExternalProgramFailed�is_ea4�is_litespeed_running�is_testing_enabled_repo)�get_apache_modules�get_boolean_param�is_da)�MODULES_LOGS_DIR)�InstallationFailedException� )�WizardInstallerz(/usr/local/directadmin/custombuild/buildc �� � � e Zd Zej � ed� � ZddgZdZ dZ dZej Z� fd�Zd� Zd � Zed efd�� � Zd edd fd�Zd� Zed� � � Zd� Zd� Zd� Z� xZS )�LsapiInstallerz lsapi.log�liblsapizliblsapi-develzea-apache24-mod_lsapi� mod_lsapiz/usr/bin/switch_mod_lsapic �4 �� t � � � � � | j d d � | _ t � � r | j � | j � � n| j � | j � � t � � pg | _ d S �N) �super�__init__�GENERAL_PACKAGE_LIST�lsapi_packagesr �append�EA4_LSAPI_PACKAGE�GENERAL_LSAPI_PACKAGEr �apache_modules)�self� __class__s ��py/clwizard/modules/lsapi.pyr zLsapiInstaller.__init__'