fix(install): read from /dev/tty so curl | bash confirmation prompt works, bump v0.5.2

set -euo pipefail causes the script to exit when read gets EOF from
the curl pipe instead of an interactive terminal. Fix by appending
'< /dev/tty || CONFIRM=Y' so the prompt reads from the actual terminal
regardless of how the script was invoked.
This commit is contained in:
NixReaper
2026-04-12 04:39:14 -05:00
parent da55367039
commit 3902935f60
4 changed files with 12 additions and 3 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ export async function buildApp() {
fastify.get('/api/health', async () => ({
status: 'ok',
version: '0.5.1',
version: '0.5.2',
timestamp: new Date().toISOString(),
}))