From 3fe3c9808edc35b20e8d8a2b6c3df3c99f10cc27 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sat, 26 Mar 2022 05:52:18 +0000 Subject: [PATCH 1/2] Auto-update README --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6fe1ddd..6af87b7 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ It aims to ease you perform your 2FA authentication steps whatever the device yo - Edit accounts, even the imported ones - Generate TOTP and HOTP security codes -**Shipped version:** 2.1.0~ynh1 +**Shipped version:** 2.1.0~ynh2 **Demo:** https://demo.2fauth.app/login diff --git a/README_fr.md b/README_fr.md index 7f7a01f..a2689db 100644 --- a/README_fr.md +++ b/README_fr.md @@ -23,7 +23,7 @@ It aims to ease you perform your 2FA authentication steps whatever the device yo - Edit accounts, even the imported ones - Generate TOTP and HOTP security codes -**Version incluse :** 2.1.0~ynh1 +**Version incluse :** 2.1.0~ynh2 **Démo :** https://demo.2fauth.app/login From fc47694aeda8271bbda2520d12b9516a1973bb63 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 30 Mar 2022 07:33:52 +0200 Subject: [PATCH 2/2] Fix --- manifest.json | 2 +- scripts/install | 14 +++++++++++--- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/manifest.json b/manifest.json index 9c68453..e1b8b3f 100644 --- a/manifest.json +++ b/manifest.json @@ -15,7 +15,7 @@ }, "license": "AGPL-3.0", "maintainer": { - "name": "", + "name": "eric_G", "email": "" }, "requirements": { diff --git a/scripts/install b/scripts/install index b26ee31..be5962a 100755 --- a/scripts/install +++ b/scripts/install @@ -114,14 +114,22 @@ ynh_script_progression --message="Installing $app with Composer..." --weight=15 ynh_install_composer #--install_args="--ignore-platform-reqs" +#================================================= +# ADD A CONFIGURATION +#================================================= +ynh_script_progression --message="Adding a configuration file..." --weight=1 + +# Setup application config +ynh_add_config --template="../conf/.env.example" --destination="$final_path/.env" + +chmod 400 "$final_path/.env" +chown $app:$app "$final_path/.env" + #================================================= # BUILDING #================================================= ynh_script_progression --message="Building..." --weight=10 -# Setup application config -ynh_add_config --template="../conf/.env.example" --destination="$final_path/.env" - # Setup application config pushd $final_path php$phpversion artisan migrate:refresh -n