mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-08-05 04:13:24 +02:00
Actual Budget: allow native module install scripts under npm 11 (Node 24) (#16277)
This commit is contained in:
committed by
GitHub
parent
3921f03b73
commit
e3e29667c6
@@ -39,7 +39,9 @@ function update_script() {
|
||||
msg_ok "Stopped Service"
|
||||
|
||||
msg_info "Updating Actual Budget to ${RELEASE}"
|
||||
$STD npm config set allow-scripts=bcrypt,better-sqlite3,argon2 --location=global
|
||||
$STD npm update -g @actual-app/sync-server
|
||||
$STD npm rebuild -g
|
||||
echo "${RELEASE}" >~/.actualbudget
|
||||
msg_ok "Updated Actual Budget to ${RELEASE}"
|
||||
|
||||
|
||||
@@ -51,6 +51,7 @@ cat <<EOF >/opt/actualbudget-data/config.json
|
||||
EOF
|
||||
mkdir -p /opt/actualbudget
|
||||
cd /opt/actualbudget
|
||||
$STD npm config set allow-scripts=bcrypt,better-sqlite3,argon2 --location=global
|
||||
$STD npm install --location=global @actual-app/sync-server
|
||||
echo "${RELEASE}" >~/.actualbudget
|
||||
msg_ok "Installed Actual Budget"
|
||||
|
||||
Reference in New Issue
Block a user