mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-06-26 01:04:57 +02:00
fix(tools): only use corepack where scripts actually need it
Remove bulk corepack prefix from global pnpm/yarn installs and limit corepack enable in setup_nodejs to explicit corepack modules or Node 25+. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+1
-1
@@ -52,7 +52,7 @@ function update_script() {
|
||||
[[ -s /opt/koillection/.env.local && -n "$(tail -c 1 /opt/koillection/.env.local)" ]] && echo "" >>/opt/koillection/.env.local
|
||||
echo 'APP_RUNTIME="Symfony\Component\Runtime\SymfonyRuntime"' >>/opt/koillection/.env.local
|
||||
fi
|
||||
NODE_VERSION="26" NODE_MODULE="corepack,yarn" setup_nodejs
|
||||
NODE_VERSION="26" NODE_MODULE="yarn" setup_nodejs
|
||||
cd /opt/koillection
|
||||
export COMPOSER_ALLOW_SUPERUSER=1
|
||||
export APP_RUNTIME='Symfony\Component\Runtime\SymfonyRuntime'
|
||||
|
||||
Reference in New Issue
Block a user