diff --git a/manifest.toml b/manifest.toml index a3194bf..ca438fa 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~ynh3" +version = "4.1.0~ynh4" maintainers = ["eric_G"] diff --git a/scripts/upgrade b/scripts/upgrade index 4168359..6df9059 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -81,7 +81,7 @@ ynh_add_nginx_config #================================================= ynh_script_progression --message="Installing $app with Composer..." --weight=15 -rm $install_dir/package-lock.json +ynh_secure_remove --file=$install_dir/package-lock.json ynh_install_composer --install_args="--ignore-platform-reqs --prefer-dist --no-scripts --no-dev"