관리-도구
편집 파일: post_modify_package.cpython-311.pyc
� P�Cg� � � � d Z ddlZddlmZ ddlmZ edk r� e� � ej e �� � Ze� d�� � Z e � d � � Ze� d dd� � � e� ddd� � � e� � � Z e� � Zej d k r#e� ej ej �� � dS e�dS )z� Package POST modification hook. This script must be called AFTER different package-related changes in control panel. See --help and docs for detailed description of actions and parameters. � N)�ModifyPackageHook)�setup_logger_and_sentry�__main__)�description�command)�dest�renamez--nameTzName of the package)�required�helpz --new-nameFzPackage after rename)�new_name)�__doc__�argparse�clcommon.public_hooks.libr �clcommon.public_hooksr �__name__�ArgumentParser�parser�add_subparsers� subparsers� add_parserr �add_argument� parse_args�args�listenerr �post_modify_package�namer �NotImplementedError� � ��/builddir/build/BUILDROOT/alt-python27-cllib-3.4.17-1.el8.cloudlinux.x86_64/opt/cloudlinux/venv/lib/python3.11/site-packages/clcommon/public_hooks/bin/post_modify_package.py�<module>r! sO ��� � ���� 7� 7� 7� 7� 7� 7� 9� 9� 9� 9� 9� 9� �z�������� $�X� $�� 9� 9� 9�F��&�&�I�&�6�6�J� � "� "�8� ,� ,�F� ����4�2� � 4� 4� 4� ����u�3� � 5� 5� 5� �����D� � �"�"�H��|�x����$�$��I��]� %� � � � � � "�!�) �r