Files
LiveServer-M1/setup.sh
joylessorchid 3b6c666744 fix: setup.sh doctor/update crash fixes
- Remove set -e (((issues++)) returns exit 1 when 0 → kills script)
- Fix .env.example parser: skip comments, validate var names with regex
- Fix update: skip git pull when user declines stash (was running anyway)
- Add --accept-data-loss to prisma db push (prevents interactive hang)
- Replace ((var++)) with var=$((var + 1)) for safety with pipefail

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-24 02:44:27 +03:00

42 KiB