1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/tldraw_ynh.git synced 2024-09-03 20:35:54 +02:00

fix corepack

This commit is contained in:
Salamandar 2024-07-11 22:24:05 +02:00
parent 2322b64ab2
commit 31639fe592

View file

@ -40,7 +40,7 @@ chown -R "$app:www-data" "$install_dir"
#================================================= #=================================================
ynh_use_nodejs ynh_use_nodejs
ynh_exec_as "$app" env "$ynh_node_load_PATH" corepack enable --install-dir "$install_dir/bin" ynh_exec_as "$app" env "$ynh_node_load_PATH" corepack enable --install-directory "$install_dir/bin"
pushd "$install_dir/sources" pushd "$install_dir/sources"
ynh_exec_warn_less ynh_exec_as "$app" env COREPACK_ENABLE_DOWNLOAD_PROMPT=0 "$ynh_node_load_PATH" "$install_dir/bin/yarn" cache clean ynh_exec_warn_less ynh_exec_as "$app" env COREPACK_ENABLE_DOWNLOAD_PROMPT=0 "$ynh_node_load_PATH" "$install_dir/bin/yarn" cache clean