Nathan NutterandGitHub 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
2025-11-03 10:50:54 +01:00
2026-01-29 11:42:07 +01:00
2025-10-07 18:17:47 +02:00
2025-09-13 18:02:07 +02:00
2025-06-30 16:42:09 -07:00
2025-07-28 09:32:44 +02:00
2025-07-26 10:02:29 -07:00
2025-10-23 07:34:11 -07:00
2026-01-08 22:27:03 -05:00

Omarchy

Omarchy is a beautiful, modern & opinionated Linux distribution by DHH.

Read more at omarchy.org.

License

Omarchy is released under the MIT License.

S
Description
Beautiful, Modern & Opinionated Linux
Readme MIT
189 MiB
Languages
Shell 87.8%
CSS 4.6%
Go Template 3.8%
Lua 2.1%
Python 0.9%
Other 0.8%