1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/outline_ynh.git synced 2024-09-03 19:56:12 +02:00
This commit is contained in:
Limezy 2024-02-19 22:47:53 +07:00
parent 175c42c092
commit 0a4ce4d833
2 changed files with 18 additions and 1 deletions

View file

@ -5,7 +5,7 @@ name = "Outline"
description.en = "Wiki and knowledge base for teams"
description.fr = "Wiki et base de connaissances pour les équipes"
version = "0.75.0~ynh1"
version = "0.75.0~ynh2"
maintainers = ["Raoul de Limezy"]

View file

@ -63,6 +63,23 @@ else
ynh_script_progression --message="No migration to be done"
fi
#=======================================================
# MIGRATE DEFAULT LANGUAGE ENV PARAMETER
#=======================================================
if ynh_compare_current_package_version --comparison le --version 0.75.0~ynh1
then
ynh_script_progression --message="Migrating default language variable"
if [ "$language" == "fr" ]
then
$language = "fr_FR"
else
$language = "en_US"
fi
else
ynh_script_progression --message="No default language migration to be done"
fi
#=================================================
# NGINX CONFIGURATION
#=================================================