1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/movim_ynh.git synced 2024-09-03 19:46:19 +02:00
This commit is contained in:
ericgaspar 2020-09-17 10:52:37 +02:00
parent b877aae0be
commit 0140f92e04
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 9 additions and 10 deletions

View file

@ -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"
}, },
{ {

View file

@ -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