Skip to content

Commit f5e0702

Browse files
committed
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)
1 parent 4864b07 commit f5e0702

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

install/lobehub-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ PDB_VERSION_NUM="${PDB_VERSION#v}"
2828
DEB_NAME="postgresql-17-pg-search_${PDB_VERSION_NUM}-1PARADEDB-${CODENAME}_${ARCH}.deb"
2929
DEB_URL="https://github.com/paradedb/paradedb/releases/download/${PDB_VERSION}/${DEB_NAME}"
3030
curl -fsSL -o "/tmp/${DEB_NAME}" "$DEB_URL"
31-
$STD dpkg -i "/tmp/${DEB_NAME}" || $STD apt install -f -y
31+
dpkg -i "/tmp/${DEB_NAME}" >/dev/null 2>&1 || $STD apt install -f -y
3232
rm -f "/tmp/${DEB_NAME}"
3333
msg_ok "Installed pg_search from ParadeDB"
3434

install/simplelogin-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ STUB
5454

5555
if [[ -f /opt/simplelogin/static/package.json ]]; then
5656
cd /opt/simplelogin/static
57-
$STD npm ci || $STD npm install
57+
npm ci >/dev/null 2>&1 || $STD npm install
5858
fi
5959
msg_ok "Installed SimpleLogin"
6060

install/twenty-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ cd /opt/twenty
3030
export COREPACK_ENABLE_DOWNLOAD_PROMPT=0
3131
$STD corepack enable
3232
$STD corepack prepare yarn@4.9.2 --activate
33-
$STD yarn install --immutable || $STD yarn install
33+
yarn install --immutable >/dev/null 2>&1 || $STD yarn install
3434
export NODE_OPTIONS="--max-old-space-size=4096"
3535
$STD npx nx run twenty-server:build
3636
$STD npx nx build twenty-front

0 commit comments

Comments
 (0)