updated doc

This commit is contained in:
levasseur
2021-11-26 11:01:54 +01:00
parent c71b22f326
commit e9c5cea0f3
2 changed files with 53 additions and 23 deletions

View File

@@ -354,8 +354,8 @@ outside of the integrated package manager mechanisms as their functionnalities
depends on variables managed by their respective package manager functions.
The following table resume those function sorted with their respective caller:
| Pre/post functions | Caller | Package triger | Required var | Description |
|:-------------------|:--------|:---------------|:-------------|:--------------|
| Pre/post functions | Caller | Required var | Package triger | Description |
|:-------------------|:--------|:-------------|:---------------|:--------------|
| ```exec_preinst``` | ```pkginst``` | ```GET_INTALLLIST``` | ```preinst_@pkgname@``` | ```GET_INTALLLIST``` variable defines the command that allows us to obtain the list of package that will be installed with ```@pkg@``` as a substitute to the list given as ```pkginst``` parameters. |
| ```exec_postinst``` | ```pkginst``` | ```POSTINSTLIST``` | ```postinst_@pkgname@``` | ```POSTINSTLIST``` is generated by ```exec_preinst``` and destroyed after ```exec_postinst``` execution. |
| ```exec_preupgd``` | ```pkgupgd``` | ```GET_UPGRADELIST``` | ```preupgd_@pkgname@``` | ```GET_UPGRADELIST``` variable defines the command that allows us to obtain the list of package that will be installed. |