fix(lobehub,twenty,simplelogin): broken $STD fallback patterns

silent() hard-exits on non-zero return before || fallback executes.
Replace first $STD with plain redirect so fallback command can run:
- lobehub: dpkg -i || apt install -f (dependency resolution)
- twenty: yarn install --immutable || yarn install (lockfile fallback)
- simplelogin: npm ci || npm install (lockfile fallback)
This commit is contained in:
MickLesk
2026-04-04 23:57:39 +02:00
parent 4864b0773b
commit f5e07027f3
3 changed files with 3 additions and 3 deletions

View File

@@ -30,7 +30,7 @@ cd /opt/twenty
export COREPACK_ENABLE_DOWNLOAD_PROMPT=0
$STD corepack enable
$STD corepack prepare yarn@4.9.2 --activate
$STD yarn install --immutable || $STD yarn install
yarn install --immutable >/dev/null 2>&1 || $STD yarn install
export NODE_OPTIONS="--max-old-space-size=4096"
$STD npx nx run twenty-server:build
$STD npx nx build twenty-front