From bab05a1b28504666413688fe8af9811c8caf4fbf Mon Sep 17 00:00:00 2001 From: Demyx Date: Wed, 27 Mar 2024 02:08:57 -0700 Subject: [PATCH] The `-f` flag should also bypass the no updates check --- host.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host.sh b/host.sh index 29a61d8..f0cf3d8 100644 --- a/host.sh +++ b/host.sh @@ -330,7 +330,7 @@ demyx_host_upgrade() { DEMYX_HOST_UPGRADE_FORCE="$(echo "$DEMYX_HOST_ARGS" | grep -e "-f" || true)" # Exit if no updates are available - if [[ "$DEMYX_HOST_UPDATE_IMAGES_COUNT" = 0 ]]; then + if [[ "$DEMYX_HOST_UPDATE_IMAGES_COUNT" = 0 && -z "$DEMYX_HOST_UPGRADE_FORCE" ]]; then echo -e "\e[34m[INFO]\e[39m No updates available" exit fi