D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
clcommon
/
public_hooks
/
lib
/
Filename :
modify_package_hook.py
back
Copy
# -*- coding: utf-8 -*- # Copyright © Cloud Linux GmbH & Cloud Linux Software, Inc 2010-2022 All Rights Reserved # # Licensed under CLOUD LINUX LICENSE AGREEMENT # http://cloudlinux.com/docs/LICENSE.TXT # from .helpers import hook_method __author__ = "Ilya Kartavtsev" class ModifyPackageHook: """ This hook provides bunch of events related to package manipulations """ HOOK_VERSION = 1 @hook_method def post_modify_package(self, name, new_name=None, **kwargs): pass