fix: harden installer symlink logic and interactive sourcing #1

Merged
dschlueter merged 1 commit from fix/installer-strict-mode into main 2026-06-28 03:49:13 +02:00

1 commit

Author SHA1 Message Date
35b2da39d2 fix: harden installer symlink logic and interactive sourcing
- install-claude-profiles: distinguish broken symlink vs real dir vs free
  path via -L/-e, repoint existing links with ln -sfn, warn instead of
  silently skipping when target is a non-symlink dir.
- profiles.sh: only set -euo pipefail when sourced non-interactively so
  sourcing in an interactive shell doesn't clobber session settings.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-28 03:23:03 +02:00