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:
parent
7e1c412536
commit
df68a48f42
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ upgrade() {
|
||||||
|
|
||||||
# Check the configuration
|
# Check the configuration
|
||||||
# This may fail in some cases with errors, etc., but the app works and the user can fix issues later.
|
# 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
|
sudo -u $app $final_path/venv/bin/weblate check --deploy || true
|
||||||
fi
|
fi
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue