Browse Source

update-cron: force metafiles

master
Starbeamrainbowlabs 5 months ago
parent
commit
14ad732e48
Signed by: sbrl GPG Key ID: 1BE5172E637709C2
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      aptosaurus.sh

+ 2
- 0
aptosaurus.sh View File

@@ -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


Loading…
Cancel
Save