confpub/update-scripts/update-fw.sh

11 lines
164 B
Bash
Raw Normal View History

2024-01-22 16:05:42 +00:00
#!/bin/bash
2024-03-17 17:33:59 +00:00
# Don't fail on error due to the brain-damaged exit status of fwupdmgr
set -Euxo pipefail
2024-01-22 16:05:42 +00:00
sudo fwupdmgr refresh --force
sudo fwupdmgr update
2024-03-17 17:33:59 +00:00
exit 0