mirror of
https://github.com/YunoHost-Apps/weblate_ynh.git
synced 2024-10-01 13:35:04 +02:00
Fix weblate commands
This commit is contained in:
parent
8b418185df
commit
09e98c7f9f
1 changed files with 2 additions and 1 deletions
|
@ -180,7 +180,8 @@ upgrade() {
|
||||||
sudo --user=$app $install_dir/venv/bin/weblate setuplang
|
sudo --user=$app $install_dir/venv/bin/weblate setuplang
|
||||||
sudo --user=$app $install_dir/venv/bin/weblate setupgroups
|
sudo --user=$app $install_dir/venv/bin/weblate setupgroups
|
||||||
sudo --user=$app $install_dir/venv/bin/weblate compilemessages
|
sudo --user=$app $install_dir/venv/bin/weblate compilemessages
|
||||||
|
sudo --user=$app $install_dir/venv/bin/weblate compress
|
||||||
|
|
||||||
# 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" == "$(ynh_app_upstream_version)" ]; then
|
if [ "$new_version" == "$(ynh_app_upstream_version)" ]; then
|
||||||
|
|
Loading…
Reference in a new issue