Add asdf to upgrade_system
This commit is contained in:
parent
05dfad11df
commit
1114c4f3a3
1 changed files with 6 additions and 0 deletions
|
@ -41,6 +41,12 @@ upgrade_system() {
|
||||||
nvim --headless -E -c 'PaqSync' -c 'sleep 5' -c 'TSUpdateSync' -c 'sleep 5' -c 'quit'
|
nvim --headless -E -c 'PaqSync' -c 'sleep 5' -c 'TSUpdateSync' -c 'sleep 5' -c 'quit'
|
||||||
fi
|
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
|
if command -v fwupdmgr &> /dev/null; then
|
||||||
(
|
(
|
||||||
# 2 is a valid exit code for the fwupdmgr where
|
# 2 is a valid exit code for the fwupdmgr where
|
||||||
|
|
Loading…
Reference in a new issue