From 0140f92e04b7c05dd7842f8fa7c21536ed9e75dc Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 17 Sep 2020 10:52:37 +0200 Subject: [PATCH] fix --- manifest.json | 2 +- scripts/install | 17 ++++++++--------- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/manifest.json b/manifest.json index 7775621..67547ad 100644 --- a/manifest.json +++ b/manifest.json @@ -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" }, { diff --git a/scripts/install b/scripts/install index f7dfb96..21f475f 100644 --- a/scripts/install +++ b/scripts/install @@ -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