From a3ab7c9199f8f450034fbf78f752b1e01bf5a7fd Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Thu, 11 Apr 2024 00:38:23 +0200 Subject: [PATCH] app resources: add __YNH_DEBIAN_VERSION_ID__ in available variable, corresponing to debian number (11, 12, ...) --- src/utils/resources.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/resources.py b/src/utils/resources.py index 1e12d67e2..7b2bbee96 100644 --- a/src/utils/resources.py +++ b/src/utils/resources.py @@ -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