Add fwupdmgr to upgrade_system
This commit is contained in:
parent
65d9b93bf6
commit
fa561a65d9
1 changed files with 8 additions and 0 deletions
|
@ -65,4 +65,12 @@ upgrade_system() {
|
||||||
tmux source-file "${HOME}/.tmux.conf"
|
tmux source-file "${HOME}/.tmux.conf"
|
||||||
fi
|
fi
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if command -v fwupdmgr &> /dev/null; then
|
||||||
|
(
|
||||||
|
set -e
|
||||||
|
fwupdmgr refresh
|
||||||
|
fwupdmgr upgrade
|
||||||
|
)
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue