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:
parent
50aec4962b
commit
4df32aa3df
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue