From df68a48f42139946338bccf621c16832f3f97fd7 Mon Sep 17 00:00:00 2001 From: Kay0u Date: Tue, 3 Nov 2020 16:51:25 +0100 Subject: [PATCH] fix comparison --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 826e785..dfed482 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -249,7 +249,7 @@ upgrade() { # Check the configuration # This may fail in some cases with errors, etc., but the app works and the user can fix issues later. - if [ "$new_version" -eq "$weblate_version" ]; then + if [ "$new_version" == "$weblate_version" ]; then sudo -u $app $final_path/venv/bin/weblate check --deploy || true fi )