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

@@ -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"