Files
omarchy/bin
Nathan Nutter 4ba39ba73c Prevent premature exit of omarchy-update-firmware (#4503)
This adds the `--force` option to `fwupdmgr refresh` so that this script will not exit, due to `set -e`, when `fwupdmgr refresh` exits non-zero due to the metadata being up-to-date, i.e.,

```
Metadata is up to date; use --force to refresh again.
```

Another option would be to use `|| true` but that might hide a legitimate error.

This was motivated when I cancelled a run of this script and then later invoked it again, via Update > Firmware, and it would not run `sudo fwupdmgr update` because `fwupdmgr refresh` was exiting non-zero with the above metadata up-to-date "error".
2026-02-04 21:41:14 +01:00
..
2026-02-02 17:04:36 +01:00
2026-01-31 21:49:07 +01:00
2026-01-31 21:59:32 +01:00
2026-01-31 21:49:07 +01:00
2026-01-05 10:53:24 +01:00
2026-01-05 10:53:24 +01:00
2026-01-05 10:53:24 +01:00
2025-09-28 17:08:08 -04:00
2025-08-24 17:53:42 +02:00
2025-08-04 20:30:00 +02:00
2025-10-23 21:33:23 -04:00
2025-08-10 20:12:16 +02:00
2025-09-15 19:04:11 +02:00
2025-10-11 18:58:52 -04:00
2025-11-20 13:20:08 +01:00
2026-01-31 21:51:18 +01:00