update.sh: Avoid non-zero exit code

This commit is contained in:
the_4n0nym0u53 2022-03-13 22:38:25 +01:00
parent 499fe783de
commit 73e7f7a90d
No known key found for this signature in database
GPG Key ID: 35EE09F5481049BB
1 changed files with 3 additions and 3 deletions

View File

@ -15,6 +15,6 @@ elif [ "$(uname -o)" = "GNU/Linux" ]; then
fi
fi
command -v flatpak >/dev/null 2>&1 && { echo; flatpak update; }
command -v docker >/dev/null 2>&1 && { echo; docker images | awk '(NR>1) && ($2!~/none/) {print $1":"$2}' | xargs -l docker pull; }
command -v npm >/dev/null 2>&1 && { echo; npm up -g; }
command -v flatpak >/dev/null 2>&1 && { echo; flatpak update; } || true
command -v docker >/dev/null 2>&1 && { echo; docker images | awk '(NR>1) && ($2!~/none/) {print $1":"$2}' | xargs -l docker pull; } || true
command -v npm >/dev/null 2>&1 && { echo; npm up -g; } || true