mirror of
https://github.com/YunoHost-Apps/piped_ynh.git
synced 2024-09-03 20:05:54 +02:00
Run corepack as root
This commit is contained in:
parent
1c3d26fed3
commit
ea7adcfbfc
1 changed files with 3 additions and 3 deletions
|
@ -42,8 +42,8 @@ chown -R $app:www-data "$install_dir"
|
|||
ynh_script_progression --message="Building UI..." --weight=5
|
||||
|
||||
pushd $install_dir/build
|
||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH corepack enable
|
||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH corepack prepare pnpm@latest --activate
|
||||
corepack enable
|
||||
corepack prepare pnpm@latest --activate
|
||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm install
|
||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm build
|
||||
ynh_exec_warn_less ynh_exec_as $app ./localizefonts.sh
|
||||
|
@ -123,4 +123,4 @@ ynh_systemd_action --service_name=$app-proxy --action="start" --log_path="/var/l
|
|||
#=================================================
|
||||
# END OF SCRIPT
|
||||
#=================================================
|
||||
ynh_script_progression --message="Installation of $app completed" --last
|
||||
ynh_script_progression --message="Installation of $app completed" --last
|
||||
|
|
Loading…
Add table
Reference in a new issue