mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-07-16 10:55:07 +02:00
fix(ct): ensure corepack is enabled before yarn/pnpm updates
Run setup_nodejs with corepack in update scripts that use bare package manager commands after corepack prepare. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -30,6 +30,8 @@ function update_script() {
|
||||
exit
|
||||
fi
|
||||
|
||||
NODE_VERSION="24" NODE_MODULE="corepack" setup_nodejs
|
||||
|
||||
if check_for_gh_release "feishin" "jeffvli/feishin"; then
|
||||
create_backup /opt/feishin/.env
|
||||
|
||||
|
||||
Reference in New Issue
Block a user