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

trying to fix the migration from weblate 4.X

This commit is contained in:
Kayou 2024-02-05 23:44:01 +01:00 committed by GitHub
parent e2aef55811
commit 3b090b15cd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -207,6 +207,11 @@ fi
ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS pg_trgm;" --database=$db_name
if [ "$current_version" -lt "5" ]
then
upgrade "5.0.2" "../conf/settings.py"
fi
upgrade $(ynh_app_upstream_version) "../conf/settings.py"
# Set right permissions for curl installation