mirror of
https://github.com/YunoHost-Apps/movim_ynh.git
synced 2024-09-03 19:46:19 +02:00
fix
This commit is contained in:
parent
b877aae0be
commit
0140f92e04
2 changed files with 9 additions and 10 deletions
|
@ -76,7 +76,7 @@
|
|||
"en": "Choose the application language",
|
||||
"fr": "Choisissez la langue de l'application"
|
||||
},
|
||||
"choices" : ["ar", "de", "en", "es", "fr", "it", "ja", "nl", "ru"],
|
||||
"choices" : ["de", "en", "es", "fr", "it", "nl", "pt"],
|
||||
"default" : "fr"
|
||||
},
|
||||
{
|
||||
|
|
|
@ -184,7 +184,6 @@ ynh_add_systemd_config
|
|||
#=================================================
|
||||
ynh_script_progression --message="Configuring database..." --weight=1
|
||||
|
||||
|
||||
cache_dir="/home/$app"
|
||||
|
||||
# Create datadir folder
|
||||
|
@ -195,14 +194,14 @@ chown -R $app $cache_dir
|
|||
cd "$final_path"
|
||||
|
||||
ynh_exec_as $app php"${phpversion}" composer.phar $app:migrate
|
||||
|
||||
(
|
||||
cd "$final_path"
|
||||
php mud.php db --set
|
||||
php mud.php config --loglevel=1 \
|
||||
--locale="$language" --timezone="$timezone" \
|
||||
--username="$admin" --password="$password"
|
||||
)
|
||||
php"${phpversion}" daemon.php config --username=$admin --password=$password
|
||||
# (
|
||||
# cd "$final_path"
|
||||
# php"${phpversion}" mud.php db --set
|
||||
# php"${phpversion}" mud.php config --loglevel=1 \
|
||||
# --locale="$language" --timezone="$timezone" \
|
||||
# --username="$admin" --password="$password"
|
||||
# )
|
||||
|
||||
#=================================================
|
||||
# GENERIC FINALIZATION
|
||||
|
|
Loading…
Add table
Reference in a new issue