update-cron: force metafiles

This commit is contained in:
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