From 73e7f7a90d4302ac6805938c76b6fdcf4f7f0cf9 Mon Sep 17 00:00:00 2001 From: the_4n0nym0u53 Date: Sun, 13 Mar 2022 22:38:25 +0100 Subject: [PATCH] update.sh: Avoid non-zero exit code --- scripts/.local/bin/update.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/.local/bin/update.sh b/scripts/.local/bin/update.sh index f806d93..f6ecae0 100755 --- a/scripts/.local/bin/update.sh +++ b/scripts/.local/bin/update.sh @@ -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