update-cron: force metafiles

这个提交包含在:
Starbeamrainbowlabs 2020-07-03 18:15:00 +01:00
父节点 d5eec9cf94
当前提交 14ad732e48
签署人:: sbrl
GPG 密钥 ID: 1BE5172E637709C2
共有 1 个文件被更改,包括 2 次插入0 次删除

查看文件

@ -215,6 +215,8 @@ task_update-cron() {
# Save the output.....
bash ./aptosaurus.sh update | ansi_strip >"${tmpfile}";
exit_code="${?}";
# update *should* do the metafiles too, but it doesn't seem to be doing so when called through cron for some bizarre reason
bash ./aptosaurus.sh metafiles | ansi_strip >>"${tmpfile}";
# ....but only display it if something went wrong
if [[ "${exit_code}" -ne 0 ]]; then