bundles/apt: introduce additional_update_commands for updating other stuff
This commit is contained in:
parent
a0e943a243
commit
50ea6a92a5
2 changed files with 5 additions and 0 deletions
|
@ -29,6 +29,10 @@ then
|
|||
fi
|
||||
% endif
|
||||
|
||||
% for command in sorted(additional_update_commands):
|
||||
${command}
|
||||
% endfor
|
||||
|
||||
% for affected, restarts in sorted(restart_triggers.items()):
|
||||
up_since=$(systemctl show "${affected}" | sed -n 's/^ActiveEnterTimestamp=//p' || echo 0)
|
||||
up_since_ts=$(date -d "$up_since" +%s || echo 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue