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:
parent
14016bf2ca
commit
8877ce62a1
1 changed files with 13 additions and 0 deletions
|
@ -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
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue