1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/calckey_ynh.git synced 2024-09-03 18:16:18 +02:00

Fix restore

This commit is contained in:
oufmilo 2023-02-03 18:35:21 +01:00
parent 14016bf2ca
commit 8877ce62a1

View file

@ -74,6 +74,19 @@ ynh_script_progression --message="Reinstalling dependencies..." --weight=5
ynh_install_nodejs --nodejs_version=$NODEJS_VERSION
ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
#=================================================
# REINSTALL PNPM
#=================================================
ynh_script_progression --message="Reinstalling pnpm..." --weight=1
# Define and install pnpm
pushd "$final_path"
ynh_use_nodejs
corepack enable
corepack prepare pnpm@latest --activate
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm install
popd
#=================================================
# RESTORE THE NGINX CONFIGURATION
#=================================================