Skip to content

Fix incorrect documentation path in setup.sh (3 instances) #155

@banjoey

Description

@banjoey

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

  1. Run the one-line installer:

    curl -fsSL https://raw.githubusercontent.com/danielmiessler/Personal_AI_Infrastructure/main/.claude/setup.sh | bash
  2. When prompted "Would you like to open the getting started guide?" answer yes

  3. 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:

  • open command fails silently
  • cat command 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.md file exists
  • documentation/ directory does NOT exist
  • how-to-start.md file does NOT exist

I'm preparing a PR to fix this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions