Skip to content

docs: update install path references to ~/.local/bin#104

Merged
albertodebortoli merged 1 commit into
mainfrom
docs/update-install-dir-references
Jul 26, 2026
Merged

docs: update install path references to ~/.local/bin#104
albertodebortoli merged 1 commit into
mainfrom
docs/update-install-dir-references

Conversation

@albertodebortoli

Copy link
Copy Markdown
Member

Description

  • The default install location for luca is now ~/.local/bin (user-writable, no sudo required), rather than /usr/local/bin. This PR updates lingering references to the old default so the docs and code comments stay consistent with actual behavior.
  • README.md: "From Source" build instructions now copy the binary to ~/.local/bin/luca instead of /usr/local/bin/luca.
  • SudoInstalling.swift: clarified that the privileged destination is a fallback path used only when the install directory isn't user-writable, rather than the typical case.

Type of Change

  • Documentation

How Has This Been Tested?

  • Swift code builds locally (swift build)
  • Doc/comment only change; no test behavior affected.

Checklist

  • Swift code builds locally (swift build)
  • Documentation updated (README / comments)

Breaking Changes?

  • No

LucaScripts PR #17 switched install.sh's default INSTALL_DIR from
/usr/local/bin to ~/.local/bin to avoid requiring sudo. Update the
lingering /usr/local/bin references here to match: the "From Source"
build instructions and the SudoInstalling doc comment, which now only
applies as a fallback for non-writable install directories.
@albertodebortoli albertodebortoli added this to the 0.24.0 milestone Jul 26, 2026
@albertodebortoli albertodebortoli added the documentation Improvements or additions to documentation label Jul 26, 2026
@albertodebortoli
albertodebortoli merged commit a590bae into main Jul 26, 2026
3 checks passed
@albertodebortoli
albertodebortoli deleted the docs/update-install-dir-references branch July 26, 2026 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant