cryptpad: allow git-based npm dependencies for drawio and json.sortify under npm v12

This commit is contained in:
MickLesk
2026-09-04 15:02:31 +02:00
parent 360383c9c8
commit 85dd5d039b
2 changed files with 2 additions and 2 deletions

View File

@@ -51,7 +51,7 @@ function update_script() {
msg_info "Updating CryptPad"
cd /opt/cryptpad
$STD npm ci
$STD npm ci --allow-git=all
$STD npm run install:components
if [ -f "/opt/cryptpad/install-onlyoffice.sh" ]; then
$STD bash /opt/cryptpad/install-onlyoffice.sh --accept-license

View File

@@ -24,7 +24,7 @@ fetch_and_deploy_gh_release "cryptpad" "cryptpad/cryptpad" "tarball"
msg_info "Setup CryptPad"
cd /opt/cryptpad
$STD npm ci
$STD npm ci --allow-git=all
$STD npm run install:components
if [[ "$onlyoffice" =~ ^[Yy]$ ]]; then
$STD bash -c "./install-onlyoffice.sh --accept-license"