Do not stop updating process on incompatible version

Closes #308
This commit is contained in:
Sandro Jäckel 2020-04-05 11:09:01 +02:00
parent 9691472b84
commit deaaf83967
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ update_mod()
if [[ $MOD_FILENAME == null ]]; then if [[ $MOD_FILENAME == null ]]; then
print_failure " Not compatible with version" print_failure " Not compatible with version"
return 1 return 0
fi fi
if [[ -f $MOD_DIR/$MOD_FILENAME ]]; then if [[ -f $MOD_DIR/$MOD_FILENAME ]]; then

View File

@ -45,7 +45,7 @@ update_mod()
if [[ $MOD_FILENAME == null ]]; then if [[ $MOD_FILENAME == null ]]; then
print_failure " Not compatible with version" print_failure " Not compatible with version"
return 1 return 0
fi fi
if [[ -f $MOD_DIR/$MOD_FILENAME ]]; then if [[ -f $MOD_DIR/$MOD_FILENAME ]]; then