mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
appv2 resources: document the fact that the apt resource may create a phpversion setting when the dependencies contain php packages
This commit is contained in:
parent
13d4e16e7d
commit
2107a84852
1 changed files with 1 additions and 0 deletions
|
@ -703,6 +703,7 @@ class AptDependenciesAppResource(AppResource):
|
|||
|
||||
##### Provision/Update:
|
||||
- The code literally calls the bash helpers `ynh_install_app_dependencies` and `ynh_install_extra_app_dependencies`, similar to what happens in v1.
|
||||
- Note that when `packages` contains some phpX.Y-foobar dependencies, this will automagically define a `phpversion` setting equal to `X.Y` which can therefore be used in app scripts ($phpversion) or templates (`__PHPVERSION__`)
|
||||
|
||||
##### Deprovision:
|
||||
- The code literally calls the bash helper `ynh_remove_app_dependencies`
|
||||
|
|
Loading…
Add table
Reference in a new issue