From deaaf8396757de06aaab6cd9e56ab4a66cce6758 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sun, 5 Apr 2020 11:09:01 +0200 Subject: [PATCH] Do not stop updating process on incompatible version Closes #308 --- 0.17/files/update-mods.sh | 2 +- 0.18/files/update-mods.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/0.17/files/update-mods.sh b/0.17/files/update-mods.sh index bd252dd..2aacc91 100755 --- a/0.17/files/update-mods.sh +++ b/0.17/files/update-mods.sh @@ -45,7 +45,7 @@ update_mod() if [[ $MOD_FILENAME == null ]]; then print_failure " Not compatible with version" - return 1 + return 0 fi if [[ -f $MOD_DIR/$MOD_FILENAME ]]; then diff --git a/0.18/files/update-mods.sh b/0.18/files/update-mods.sh index bd252dd..2aacc91 100755 --- a/0.18/files/update-mods.sh +++ b/0.18/files/update-mods.sh @@ -45,7 +45,7 @@ update_mod() if [[ $MOD_FILENAME == null ]]; then print_failure " Not compatible with version" - return 1 + return 0 fi if [[ -f $MOD_DIR/$MOD_FILENAME ]]; then