diff --git a/manifest.toml b/manifest.toml index e7ba6ee..a3194bf 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "2FAuth" description.en = "self-hosted alternative to One Time Passcode" description.fr = "Alternative auto-hébergée a One Time Passcode" -version = "4.1.0~ynh2" +version = "4.1.0~ynh3" maintainers = ["eric_G"] diff --git a/scripts/upgrade b/scripts/upgrade index 1936140..4168359 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -47,7 +47,7 @@ then ynh_script_progression --message="Upgrading source files..." --weight=3 # Download, check integrity, uncompress and patch the source from app.src - ynh_setup_source --dest_dir="$install_dir" --keep="storage" + ynh_setup_source --dest_dir="$install_dir" --keep="storage .env" fi chown -R $app:www-data "$install_dir" @@ -66,15 +66,15 @@ ynh_add_nginx_config #================================================= # ADD A CONFIGURATION #================================================= -ynh_script_progression --message="Adding a configuration file..." --weight=1 +#ynh_script_progression --message="Adding a configuration file..." --weight=1 -email=$(ynh_user_get_info --username=$admin --key=mail) +#email=$(ynh_user_get_info --username=$admin --key=mail) # Setup application config -ynh_add_config --template="../conf/.env.example" --destination="$install_dir/.env" +#ynh_add_config --template="../conf/.env.example" --destination="$install_dir/.env" -chmod 644 "$install_dir/.env" -chown $app:$app "$install_dir/.env" +#chmod 644 "$install_dir/.env" +#chown $app:$app "$install_dir/.env" #================================================= # INSTALL 2FAUTH WITH COMPOSER