From 4c2893381fc6645f1fb414de837e20306c7819af Mon Sep 17 00:00:00 2001 From: Itxaka Date: Tue, 14 Feb 2023 14:10:52 +0100 Subject: [PATCH] Add guards for templates (#115) * Add guards for templates If you try to build locally some issues will arise due the templating trying to access non existing values. This patch guards those failures by first checking the the var exists before trying to get the value, avoiding panics. Signed-off-by: Itxaka * Bump immucore Signed-off-by: Itxaka --------- Signed-off-by: Itxaka --- packages/system/dracut/immucore/definition.yaml | 2 +- packages/system/immucore/definition.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/system/dracut/immucore/definition.yaml b/packages/system/dracut/immucore/definition.yaml index f24a10c..6ac14ec 100644 --- a/packages/system/dracut/immucore/definition.yaml +++ b/packages/system/dracut/immucore/definition.yaml @@ -1,6 +1,6 @@ name: "immucore" category: "dracut" -version: "0.0.4" +version: "0.0.5" labels: github.repo: "immucore" autobump.revdeps: "true" diff --git a/packages/system/immucore/definition.yaml b/packages/system/immucore/definition.yaml index 0673274..f6bb17c 100644 --- a/packages/system/immucore/definition.yaml +++ b/packages/system/immucore/definition.yaml @@ -1,6 +1,6 @@ name: "immucore" category: "system" -version: "0.0.4" +version: "0.0.5" labels: github.repo: "immucore" autobump.revdeps: "true"