Add fwupdmgr to upgrade_system

This commit is contained in:
Tony Blyler 2020-09-01 21:51:47 -04:00
parent 65d9b93bf6
commit fa561a65d9

View file

@ -65,4 +65,12 @@ upgrade_system() {
tmux source-file "${HOME}/.tmux.conf"
fi
)
if command -v fwupdmgr &> /dev/null; then
(
set -e
fwupdmgr refresh
fwupdmgr upgrade
)
fi
}