-
Notifications
You must be signed in to change notification settings - Fork 685
Description
The setup.sh script references a non-existent file path $PAI_DIR/documentation/how-to-start.md in three locations, causing errors when users run the installation script.
Steps to Reproduce
-
Run the one-line installer:
curl -fsSL https://raw.githubusercontent.com/danielmiessler/Personal_AI_Infrastructure/main/.claude/setup.sh | bash -
When prompted "Would you like to open the getting started guide?" answer yes
-
Observe error: File not found
Expected Behavior
The setup script should open the getting started documentation file successfully.
Actual Behavior
The script attempts to open $PAI_DIR/documentation/how-to-start.md which doesn't exist, resulting in:
opencommand fails silentlycatcommand errors: "No such file or directory"
Root Cause
Three instances reference the wrong path:
Line 618:
echo " $PAI_DIR/documentation/how-to-start.md"Line 717:
echo " • Read the docs: $PAI_DIR/documentation/how-to-start.md"Line 753:
open "$PAI_DIR/documentation/how-to-start.md" 2>/dev/null || cat "$PAI_DIR/documentation/how-to-start.md"Correct Path
Should reference: $PAI_DIR/docs/QUICKSTART.md
(The actual documentation directory is docs/ not documentation/, and the file is QUICKSTART.md not how-to-start.md)
Proposed Fix
Replace all three instances:
Line 618:
echo " $PAI_DIR/docs/QUICKSTART.md"Line 717:
echo " • Read the docs: $PAI_DIR/docs/QUICKSTART.md"Line 753:
open "$PAI_DIR/docs/QUICKSTART.md" 2>/dev/null || cat "$PAI_DIR/docs/QUICKSTART.md"Additional Context
Verified in repository that:
- ✅
docs/directory exists - ✅
docs/QUICKSTART.mdfile exists - ❌
documentation/directory does NOT exist - ❌
how-to-start.mdfile does NOT exist
I'm preparing a PR to fix this issue.