Update echoes in update.sh
This commit is contained in:
parent
3366f26727
commit
361ad1c8b7
|
@ -2,20 +2,19 @@
|
|||
|
||||
[ "$(lsb_release -si)" = "Artix" ] && paru
|
||||
[ "$(lsb_release -si)" = "Fedora" ] && sudo dnf upgrade
|
||||
echo
|
||||
|
||||
command -v flatpak >/dev/null 2>&1 &&
|
||||
{ echo; flatpak update; }
|
||||
{ flatpak update; echo; }
|
||||
command -v npm >/dev/null 2>&1 &&
|
||||
{ echo; npm update --location="global"; }
|
||||
{ npm update --location="global"; echo; }
|
||||
command -v rustup >/dev/null 2>&1 &&
|
||||
{ echo; rustup update; }
|
||||
{ rustup update; echo; }
|
||||
command -v nvim >/dev/null 2>&1 &&
|
||||
{ echo; nvim --headless +PlugUpdate +PlugUpgrade +qa; echo; }
|
||||
command -v docker >/dev/null 2>&1 &&
|
||||
{ echo; [ "$(sudo docker images | wc -l)" -gt 1 ] &&
|
||||
sudo sh -c "docker images |
|
||||
{ nvim --headless +PlugUpdate +PlugUpgrade +qa; echo; }
|
||||
command -v docker >/dev/null 2>&1 && [ "$(sudo docker images | wc -l)" -gt 1 ] &&
|
||||
{ sudo sh -c "docker images |
|
||||
awk '(NR>1) && (\$2!~/none/) {print \$1\":\"\$2}' |
|
||||
xargs -l docker pull"; }
|
||||
xargs -l docker pull"; echo; }
|
||||
|
||||
echo
|
||||
zsh -ic "antidote update && echo && git -C $(dirname -- "$(readlink -e "$0")") pull"
|
||||
|
|
Loading…
Reference in a new issue