From f5e07027f339b8ec8ce9e94343610aca1354c5b2 Mon Sep 17 00:00:00 2001 From: MickLesk Date: Sat, 4 Apr 2026 23:57:39 +0200 Subject: [PATCH] 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) --- install/lobehub-install.sh | 2 +- install/simplelogin-install.sh | 2 +- install/twenty-install.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/install/lobehub-install.sh b/install/lobehub-install.sh index c79da182..3ec0b1bc 100644 --- a/install/lobehub-install.sh +++ b/install/lobehub-install.sh @@ -28,7 +28,7 @@ PDB_VERSION_NUM="${PDB_VERSION#v}" DEB_NAME="postgresql-17-pg-search_${PDB_VERSION_NUM}-1PARADEDB-${CODENAME}_${ARCH}.deb" DEB_URL="https://github.com/paradedb/paradedb/releases/download/${PDB_VERSION}/${DEB_NAME}" curl -fsSL -o "/tmp/${DEB_NAME}" "$DEB_URL" -$STD dpkg -i "/tmp/${DEB_NAME}" || $STD apt install -f -y +dpkg -i "/tmp/${DEB_NAME}" >/dev/null 2>&1 || $STD apt install -f -y rm -f "/tmp/${DEB_NAME}" msg_ok "Installed pg_search from ParadeDB" diff --git a/install/simplelogin-install.sh b/install/simplelogin-install.sh index 7e6c3cfd..1b6a6000 100644 --- a/install/simplelogin-install.sh +++ b/install/simplelogin-install.sh @@ -54,7 +54,7 @@ STUB if [[ -f /opt/simplelogin/static/package.json ]]; then cd /opt/simplelogin/static - $STD npm ci || $STD npm install + npm ci >/dev/null 2>&1 || $STD npm install fi msg_ok "Installed SimpleLogin" diff --git a/install/twenty-install.sh b/install/twenty-install.sh index c1fe59c9..def73254 100644 --- a/install/twenty-install.sh +++ b/install/twenty-install.sh @@ -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