Add asdf to upgrade_system

This commit is contained in:
Tony Blyler 2022-06-24 20:38:28 -04:00
parent 05dfad11df
commit 1114c4f3a3
Signed by: tblyler
GPG key ID: 7F13D9A60C0D678E

View file

@ -41,6 +41,12 @@ upgrade_system() {
nvim --headless -E -c 'PaqSync' -c 'sleep 5' -c 'TSUpdateSync' -c 'sleep 5' -c 'quit'
fi
if command -v asdf &> /dev/null; then
asdf update
asdf plugin update --all
asdf latest --all
fi
if command -v fwupdmgr &> /dev/null; then
(
# 2 is a valid exit code for the fwupdmgr where