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",
|
"en": "Choose the application language",
|
||||||
"fr": "Choisissez la langue de l'application"
|
"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"
|
"default" : "fr"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -184,7 +184,6 @@ ynh_add_systemd_config
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Configuring database..." --weight=1
|
ynh_script_progression --message="Configuring database..." --weight=1
|
||||||
|
|
||||||
|
|
||||||
cache_dir="/home/$app"
|
cache_dir="/home/$app"
|
||||||
|
|
||||||
# Create datadir folder
|
# Create datadir folder
|
||||||
|
@ -195,14 +194,14 @@ chown -R $app $cache_dir
|
||||||
cd "$final_path"
|
cd "$final_path"
|
||||||
|
|
||||||
ynh_exec_as $app php"${phpversion}" composer.phar $app:migrate
|
ynh_exec_as $app php"${phpversion}" composer.phar $app:migrate
|
||||||
|
php"${phpversion}" daemon.php config --username=$admin --password=$password
|
||||||
(
|
# (
|
||||||
cd "$final_path"
|
# cd "$final_path"
|
||||||
php mud.php db --set
|
# php"${phpversion}" mud.php db --set
|
||||||
php mud.php config --loglevel=1 \
|
# php"${phpversion}" mud.php config --loglevel=1 \
|
||||||
--locale="$language" --timezone="$timezone" \
|
# --locale="$language" --timezone="$timezone" \
|
||||||
--username="$admin" --password="$password"
|
# --username="$admin" --password="$password"
|
||||||
)
|
# )
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# GENERIC FINALIZATION
|
# GENERIC FINALIZATION
|
||||||
|
|
Loading…
Add table
Reference in a new issue