1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/flarum_ynh.git synced 2024-09-03 18:36:24 +02:00

[fix] extensions names

This commit is contained in:
tituspijean 2019-09-23 16:33:31 +00:00
parent 50694890c5
commit 8ff44f7081

View file

@ -248,7 +248,7 @@ ynh_mysql_execute_as_root "$sql_command" $db_name
case $language in
fr)
ynh_script_progression --message="Installing French extension..." --time --weight=2
install_and_activate_extension $app $php_version $final_path $db_name "milescellar/flarum-ext-french" "milescellar-french"
install_and_activate_extension $app $php_version $final_path $db_name "milescellar/lang-french" "milescellar-lang-french"
sql_command="UPDATE \`settings\` SET \`value\` = 'fr' WHERE \`settings\`.\`key\` = 'default_locale'"
ynh_mysql_execute_as_root "$sql_command" $db_name
;;
@ -262,7 +262,7 @@ esac
if [ $bazaar_extension -eq 1 ]; then
ynh_script_progression --message="Installing Bazaar extension..." --time --weight=2
ynh_composer_exec $app $php_version $final_path "require flagrow/bazaar --ansi"
ynh_composer_exec $app $php_version $final_path "require extiverse/bazaar --ansi"
fi
#=================================================