1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/weblate_ynh.git synced 2024-10-01 13:35:04 +02:00

fix comparison

This commit is contained in:
Kay0u 2020-11-03 16:51:25 +01:00
parent 7e1c412536
commit df68a48f42
No known key found for this signature in database
GPG key ID: AAFEEB16CFA2AE2D

View file

@ -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
)