Skip to content

Installer broken: repo rename breaks dir detection + Releases/v5.0.0/.claude/ missing from public repo #1380

Description

@robinss0n

Summary

Two bugs prevent the v5.0.0 installer from working on a fresh install:


Bug 1: Repo rename breaks directory detection

The install script looks for a directory matching Personal_AI_Infrastructure-* after extracting the tarball:

EXTRACTED_DIR="$(find "$TMP_DIR" -maxdepth 1 -type d -name "${PAI_REPO_NAME}-*" | head -n 1)"

But the repo has been renamed to LifeOS, so the GitHub tarball now extracts to danielmiessler-LifeOS-{sha}/ — not matching Personal_AI_Infrastructure-*. EXTRACTED_DIR comes back empty and the installer exits at step 3/5.

Fix: Update PAI_REPO_NAME and/or PAI_REPO_OWNER in the installer, or make the directory detection glob more permissive (e.g. find "$TMP_DIR" -maxdepth 1 -type d | grep -v "^$TMP_DIR$" | head -1).


Bug 2: Releases/v5.0.0/.claude/ does not exist in the public repo

Even if Bug 1 is fixed, the installer would fail at the next check:

if [ ! -d "$EXTRACTED_DIR/$PAI_RELEASE_SUBPATH" ]; then
  error "Release subpath not found in extracted tree: $PAI_RELEASE_SUBPATH"

Releases/v5.0.0/ only contains README.md and pai-stack.jpg — no .claude/ subdirectory. The actual PAI content (hooks, skills, CLAUDE.md, etc.) is not present in the public repo at the expected path.


Steps to reproduce

curl -sSL https://ourpai.ai/install.sh | bash

Fails at step 3/5 with:

✗ Could not locate extracted tarball directory under /tmp/pai-install-XXXXXX
ℹ Expected a directory matching: Personal_AI_Infrastructure-*

Environment

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