1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-09-15 18:57:01 +00:00

fix: ensure the LXC template does not have obsolete APT

Upgrade to lxc-helper 1.0.1
This commit is contained in:
Earl Warren 2025-01-28 23:41:13 +01:00
parent 50aec4962b
commit 4df32aa3df

View file

@ -222,8 +222,8 @@ EOF
function build_template_act() { function build_template_act() {
local name="$(template_act)" local name="$(template_act)"
if lxc_exists $name ; then if lxc_exists_and_apt_not_old $name ; then
return return 0
fi fi
lxc_build_template $(lxc_template_release) $name lxc_build_template $(lxc_template_release) $name