mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
app resources: add __YNH_DEBIAN_VERSION_ID__ in available variable, corresponing to debian number (11, 12, ...)
This commit is contained in:
parent
85f83af862
commit
a3ab7c9199
1 changed files with 1 additions and 0 deletions
|
@ -152,6 +152,7 @@ class AppResource:
|
|||
"__APP__": self.app,
|
||||
"__YNH_ARCH__": system_arch(),
|
||||
"__YNH_DEBIAN_VERSION__": debian_version(),
|
||||
"__YNH_DEBIAN_VERSION_ID__": debian_version_id(),
|
||||
"__YNH_APP_UPSTREAM_VERSION__": (
|
||||
manager.wanted["version"].split("~")[0]
|
||||
if manager.wanted
|
||||
|
|
Loading…
Add table
Reference in a new issue