From 4df32aa3dfa503c93d8ba1ec3d7b7ba361aaee6e Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Tue, 28 Jan 2025 23:41:13 +0100 Subject: [PATCH] fix: ensure the LXC template does not have obsolete APT Upgrade to lxc-helper 1.0.1 --- act/runner/run_context.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/act/runner/run_context.go b/act/runner/run_context.go index ab183f34..a70c3bf6 100644 --- a/act/runner/run_context.go +++ b/act/runner/run_context.go @@ -222,8 +222,8 @@ EOF function build_template_act() { local name="$(template_act)" - if lxc_exists $name ; then - return + if lxc_exists_and_apt_not_old $name ; then + return 0 fi lxc_build_template $(lxc_template_release) $name